mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-24 03:00:39 +08:00
16 lines
501 B
TypeScript
16 lines
501 B
TypeScript
/**
|
|
* 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
|