Class EncoderUtils

Provide utiltiies to encode/decode values

Hierarchy

  • EncoderUtils

Constructors

Methods

  • It decodes the data from a base64 string.

    Parameters

    • data: string

      The base64 data to be decoded.

    Returns string

    The original string.

  • It encodes the data into a base58 string.

    Parameters

    • data: Uint8Array

      The data to be encoded.

    Returns string

    The base58 encoded string.

  • It encodes the data into a base64 string.

    Parameters

    • data: string

      The data to be encoded.

    Returns string

    The base64 encoded string.

Generated using TypeDoc