Interface MultibaseDecoder<Prefix>

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.

interface MultibaseDecoder<Prefix> {
    decode(multibase): Uint8Array;
}

Type Parameters

  • Prefix extends string

Hierarchy (view full)

Methods

Methods