interface BytesCoder {
    decode: ((str) => Uint8Array);
    encode: ((data) => string);
}

Hierarchy (view full)

  • Coder<Uint8Array, string>
    • BytesCoder

Properties

Properties

decode: ((str) => Uint8Array)

Type declaration

    • (str): Uint8Array
    • Parameters

      • str: string

      Returns Uint8Array

encode: ((data) => string)

Type declaration

    • (data): string
    • Parameters

      • data: Uint8Array

      Returns string

Generated using TypeDoc