Skip to main content

bytesToBase64() function

Encodes a Uint8Array to a base64 string representation with padding.

Signature:

export declare function bytesToBase64(b: Uint8Array): string

Parameters

ParameterTypeDescription
bUint8Arraythe byte array to convert

Returns:

string