16 lines
501 B
TypeScript
Raw Normal View History

2022-07-12 09:00:22 +02:00
/**
* Encodes a string in base64 format.
* @param value the string to encode
*/
export declare function encodeString(value: string): string;
/**
* Encodes a byte array in base64 format.
* @param value the Uint8Aray to encode
*/
export declare function encodeByteArray(value: Uint8Array): string;
/**
* Decodes a base64 string into a byte array.
* @param value the base64 string to decode
*/
export declare function decodeString(value: string): Uint8Array;
//# sourceMappingURL=base64.d.ts.map