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

15 lines
423 B
TypeScript
Raw Normal View History

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