bytes32.d.ts 423 B

123456789101112131415
  1. /**
  2. * About bytes32 strings...
  3. *
  4. * @_docloc: api/utils:Bytes32 Strings
  5. */
  6. import type { BytesLike } from "../utils/index.js";
  7. /**
  8. * Encodes %%text%% as a Bytes32 string.
  9. */
  10. export declare function encodeBytes32String(text: string): string;
  11. /**
  12. * Encodes the Bytes32-encoded %%bytes%% into a string.
  13. */
  14. export declare function decodeBytes32String(_bytes: BytesLike): string;
  15. //# sourceMappingURL=bytes32.d.ts.map