js-moi-utils
Version:
Collection of utility functions used in js-moi-sdk.
17 lines • 535 B
TypeScript
/**
* encodeBase64
*
* Encodes a Uint8Array into a base64 string.
*
* @param {Uint8Array} uint8Array - The Uint8Array to encode.
* @returns {string} The base64 encoded string.
*/
export declare const encodeBase64: (uint8Array: Uint8Array) => string;
/**
* Decodes a base64 string into a Uint8Array.
*
* @param {string} base64String - The base64 string to decode.
* @returns {Uint8Array} The decoded Uint8Array.
*/
export declare const decodeBase64: (base64String: string) => Uint8Array;
//# sourceMappingURL=base64.d.ts.map