Wyle.Gong-巩文昕 2623f9aa09 ui
2025-04-23 14:47:06 +08:00

15 lines
409 B
TypeScript

/**
* Encode binary data to a base64 string
* @param {Uint8Array} bytes to encode to base64
*/
export declare function encode(bytes: Uint8Array): string;
/**
* Decode a base64 encoded string to a binary Uint8Array
* @param {string} b64str encoded string
*/
export declare function decode(b64str: string): Uint8Array;
/**
* @ignore
*/
export declare function dump(buf: Uint8Array, msg?: string): void;