-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_BytesToHex
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Convert bytes to a hex string.
This function will safely truncate overflows with a null character.
void MTY_BytesToHex(
const void * bytes,
size_t size,
char * hex,
size_t hexSize
);
bytes
(const void *
)
Input buffer.
size
(size_t
)
Size in bytes of bytes
.
hex
(char *
)
Hex string output buffer.
hexSize
(size_t
)
Size in bytes of hex
.