UNPKG

509 BTypeScriptView Raw
1/**
2 * Encodes a string in base64 format.
3 * @param value the string to encode
4 */
5export declare function encodeString(value: string): string;
6/**
7 * Encodes a byte array in base64 format.
8 * @param value the Uint8Aray to encode
9 */
10export declare function encodeByteArray(value: Uint8Array): string;
11/**
12 * Decodes a base64 string into a byte array.
13 * @param value the base64 string to decode
14 */
15export declare function decodeString(value: string): Uint8Array;
16//# sourceMappingURL=base64.browser.d.ts.map
\No newline at end of file