mochihex
Utilities for working with hexadecimal strings.
Utilities for working with hexadecimal strings.
DATA TYPES
iodata() = iolist() | binary()
iolist() = [char() | binary() | iolist()]
Functions
dehex(C::char()) -> integer()
Convert a hex digit to its integer value.
hexdigit(C::integer()) -> char()
Convert an integer less than 16 to a hex digit.
to_bin(L::string()) -> binary()
Convert a hexadecimal string to a binary.
to_hex(I::integer | iolist()) -> string()
Convert an iolist to a hexadecimal string.
to_int(L::string()) -> integer()
Convert a hexadecimal string to an integer.