Expand description
Deserializes hex-encoded inputs such as the one required
for the submitblock RPC method.
Structs§
- HexData
- Deserialize hex-encoded strings to bytes.
Constants§
- HEX_
DIGITS 🔒 - The value of each ASCII hex digit, and
INVALID_HEX_DIGITfor every other byte. - INVALID_
HEX_ 🔒DIGIT - The entry in
HEX_DIGITSfor a byte that isn’t a hex digit.
Functions§
- decode_
hex 🔒 - Decodes
hex, or returnsNoneif it isn’t an even number of hex digits.