Writes a hex string to a buffer for a given value.
The unsigned integer value to write.
The buffer to write to.
The number of characters that were written.
See Implementation
Writes a hex string to a buffer for a given value.