function toBase64 toBase64(bytes: Uint8Array): string Convert Uint8Array to base64 string Parameters bytes: Uint8Array Return Type string