Crate hexutil

Source

Enums§

ParseHexError
Errors exhibited from read_hex.

Functions§

clean_0x
Return s without the 0x at the beginning of it, if any.
read_hex
Parses a given hex string and return a list of bytes if succeeded. The string can optionally start by 0x, which indicates that it is a hex representation.
to_hex
Given a bytearray, get a Ethereum-compatible string hex.