Internal helpers for parsing blobs from hex strings.

Functions

Name

Description

FromHex

Writes the hex string (in reverse byte order) into a new uintN_t object and only returns a value iff all of the checks pass: ‐ Input length is uintN_t::size()*2 ‐ All characters are hex

FromUserHex

Like FromHex(std::string_view str), but allows an "0x" prefix and pads the input with leading zeroes if it is shorter than the expected length of uintN_t::size()*2.

Created with MrDocs