toBase64

Bun

Symbol

Uint8Array.toBase64

toBase64(options?: { alphabet: 'base64' | 'base64url'; omitPadding: boolean }): string

Convert the Uint8Array to a base64 encoded string

@returns

The base64 encoded string representation of the Uint8Array