Skip to content

uint8ArrayToBase64-1

uint8ArrayToBase64(bytes): string

Defined in: .build/typescript/packages/env/src/utils/base64.ts:9

Converts a Uint8Array to a base64 string. For large arrays, it processes the data in chunks to avoid memory issues. Falls back to Buffer if available for better performance.

Uint8Array

The Uint8Array to convert

string

The base64 string representation