Skip to content

MultibaseDecoder

Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/bases/interface.d.ts:60

Interface implemented by multibase decoder, that takes multibase strings to bytes. It may support single encoding like base32 or multiple encodings like base32, base58btc, base64. If passed multibase is incompatible it will throw an exception.

Type Parameter
Prefix extends string
decode(multibase): Uint8Array;

Defined in: node_modules/.pnpm/multiformats@13.4.1/node_modules/multiformats/dist/src/bases/interface.d.ts:65

Decodes multibase string (which must have a multibase prefix added). If prefix does not match

ParameterType
multibaseMultibase<Prefix>

Uint8Array