Bytesrw_hexHexadecimal tools.
See also Bytesrw.Bytes.pp_hex.
to_binary_string hex converts hex, made of upper or lowercase US-ASCII hexadecimal digits to a binary string. If length is specified, errors if the result is not exactly length bytes.
of_binary_string s is the bytes of s in lowercase US-ASCII hexadecimal digits.
pp_binary_string ppf s formats the bytes of s with lowercase US-ASCII hexadecimal digits.