MtoBase64
Bun

method

buffer.Buffer.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