Module bytes

Module bytes 

Source

Enums§

ByteUtilsError
An error from a byte utils operation.

Functions§

hex_decode
Decode hex with 0x prefix
hex_encode
Encode hex with 0x prefix
hex_encode_compact
Returns a compact hex-encoded String representation of data.
hex_encode_upper
Returns a upper-case, 0x-prefixed, hex-encoded String representation of data.
random_32byte_array
Generate 32 byte array with N leading bit zeros