Multibase encoder for the specific base encoding encodes bytes into multibase of that encoding.

Type Parameters

  • Prefix extends string

Hierarchy

  • MultibaseEncoder

Implemented by

Properties

Methods

Properties

name: string

Name of the encoding.

prefix: Prefix

Prefix character for that base encoding.

Methods

  • Encodes binary data into multibase string (which will have a prefix added).

    Parameters

    • bytes: Uint8Array

    Returns Multibase<Prefix>

Generated using TypeDoc