Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 779 Bytes

cast-parse-bytes32-string.md

File metadata and controls

28 lines (16 loc) · 779 Bytes

cast parse-bytes32-string

NAME

cast-parse-bytes32-string - Parses a string from bytes32 encoding.

SYNOPSIS

cast parse-bytes32-string [options] bytes

DESCRIPTION

Parses a Solidity string literal from its bytes32 encoding representation mostly by interpreting bytes as ASCII characters. This command undos the encoding in --format-bytes32-string.

OPTIONS

{{#include common-options.md}}

EXAMPLES

  1. Parse bytes32 string encoding of "hello" back to the string representation:
    cast parse-bytes32-string "0x68656c6c6f000000000000000000000000000000000000000000000000000000"

SEE ALSO

cast