Buffer

toHex() (pointer, size) [Buffer class]

Convert the buffer to hexaedcimal encoding. Writes the hex data into the specified pointer and size. The out string is null terminated if the size is large enough to hold it.

// PROTOTYPE
size_t toHex(char* out, size_t size) const