Interface CombobaseDecoder<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 CombobaseDecoder<Prefix> {
    decoders: Record<Prefix, UnibaseDecoder<Prefix>>;
    decode(multibase): Uint8Array;
}

Type Parameters

  • Prefix extends string

Hierarchy (view full)

Properties

Methods

Properties

Methods