ethers.js/lib.esm/abi/bytes32.d.ts

15 lines
423 B
TypeScript
Raw Permalink Normal View History

2022-11-30 15:44:23 -05:00
/**
* About bytes32 strings...
*
* @_docloc: api/utils:Bytes32 Strings
*/
2022-09-05 16:57:11 -04:00
import type { BytesLike } from "../utils/index.js";
2022-11-30 15:44:23 -05:00
/**
* Encodes %%text%% as a Bytes32 string.
*/
2022-10-01 01:34:06 -04:00
export declare function encodeBytes32String(text: string): string;
2022-11-30 15:44:23 -05:00
/**
* Encodes the Bytes32-encoded %%bytes%% into a string.
*/
2022-10-01 01:34:06 -04:00
export declare function decodeBytes32String(_bytes: BytesLike): string;
2022-09-05 16:57:11 -04:00
//# sourceMappingURL=bytes32.d.ts.map