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