Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 545 Bytes

cast-to-bytes32.md

File metadata and controls

23 lines (12 loc) · 545 Bytes

cast to-bytes32

NAME

cast-to-bytes32 - Right-pads hex data to 32 bytes.

SYNOPSIS

cast to-bytes32 [options] bytes

DESCRIPTION

Right-pads hex data to 32 bytes.

Note that this command is for padding a byte string only. If you're looking to format a Solidity string literal into bytes32, use format-bytes32-string instead.

OPTIONS

{{#include common-options.md}}

SEE ALSO

cast