interface BaseConverter {
    decode(string: string): Uint8Array;
    decodeUnsafe(string: string): undefined | Uint8Array;
    encode(buffer: number[] | Uint8Array): string;
}

Methods

  • Parameters

    • string: string

    Returns Uint8Array

  • Parameters

    • string: string

    Returns undefined | Uint8Array

  • Parameters

    • buffer: number[] | Uint8Array

    Returns string