hex

hex

Functions

bool hex_decode ()
bool hex_encode ()
size_t hex_str_size ()
size_t hex_data_size ()

Description

Functions

hex_decode ()

bool
hex_decode (const char *str,
            size_t slen,
            void *buf,
            size_t bufsize);

hex_encode ()

bool
hex_encode (const void *buf,
            size_t bufsize,
            char *dest,
            size_t destsize);

hex_str_size ()

size_t
hex_str_size (size_t bytes);

hex_data_size ()

size_t
hex_data_size (size_t slen);