Module utilities
Functionsยง
- Converts a boolean to a left-padded
B256
value. - Converts a boolean to a left-padded 32-byte
Bytes
value. - Left-pads the given slice with zeroes until
LEN
. - Left-pads the given slice with zeroes until
len
. - Right-pads the given slice with zeroes until
LEN
. - Right-pads the given slice with zeroes until
len
. - Right-pads the given slice at
offset
with zeroes untilLEN
. - Right-pads the given slice at
offset
with zeroes untillen
.