Skip to content

b16encode

b16encode(s: string | Uint8Array<ArrayBufferLike>): Uint8Array

Defined in: packages/pythonlib/src/base64.ts:151

Encode bytes-like object using Base16 (hexadecimal) and return bytes.

Parameters

ParameterTypeDescription
sstring | Uint8Array<ArrayBufferLike>Bytes to encode

Returns

Uint8Array

Hexadecimal encoded Uint8Array (uppercase)