Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

Type parameters

  • Prefix: string

Hierarchy

  • MultibaseDecoder

Index

Methods

Methods

  • decode(multibase: Multibase<Prefix>): Uint8Array
  • Decodes multibase string (which must have a multibase prefix added). If prefix does not match

    Parameters

    Returns Uint8Array

Generated using TypeDoc