How do I convert byte to string?
Posted
by HardCoder1986
on Stack Overflow
See other posts from Stack Overflow
or by HardCoder1986
Published on 2010-06-14T19:57:29Z
Indexed on
2010/06/14
20:12 UTC
Read the original article
Hit count: 288
Hello!
Is there any fast way to convert given byte (like, by number - 65
) to it's text hex representation?
Basically, I want to convert array of bytes into (I am hardcoding resources) their code-representation like
BYTE data[] = {0x00, 0x0A, 0x00, 0x01, ... }
How do I automate this Given byte -> "0x0A" string
conversion?
© Stack Overflow or respective owner