ethers.js/lib.commonjs/utils/base64.d.ts

10 lines
281 B
TypeScript
Raw Normal View History

import type { BytesLike } from "./data.js";
/**
* Decodes the base-64 encoded %%value%%.
*/
export declare function decodeBase64(value: string): Uint8Array;
/**
* Encodes %%data%% as a base-64 encoded string.
*/
export declare function encodeBase64(data: BytesLike): string;