Easton Man's Channel
a day ago
Daniel Lemire's blog
Converting data to hexadecimal outputs quickly
source
Daniel Lemire's blog
Converting data to hexadecimal outputs quickly
Given any string of bytes, you can convert it to an hexadecimal string by mapping the least significant and the most significant 4 bits of byte to characters in 01...9A...F. There are more efficient techniques like base64, that map 3 bytes to 4 characters.…
Home
Powered by
BroadcastChannel
&
Sepia