aerDNA
4th May 2010 21:25 UTC
Hex <-> Bin
I need to convert hex to bin and back. Searching the forum, I managed to find working Hex2Bin and Bin2Hex functions which I can use. But is there really no simple way of hex<->bin conversion in nsis, not even through some header or a plugin?
Wizou
4th May 2010 21:36 UTC
check nsisFile plugin : http://wiz0u.free.fr/prog/nsisFile/
aerDNA
4th May 2010 22:39 UTC
Thanks, Wizou, it's a great plugin but not what I was looking for. Your functions have ansi input or output and I'm not working with files, what I need is "calculator mode" (2A = 101010).
Afrow UK
4th May 2010 22:59 UTC
What is the problem with using an NSIS function?
Stu
aerDNA
4th May 2010 23:04 UTC
No problem at all, I was just wondering.
Wizou
4th May 2010 23:59 UTC
Originally posted by aerDNA
Thanks, Wizou, it's a great plugin but not what I was looking for. Your functions have ansi input or output and I'm not working with files, what I need is "calculator mode" (2A = 101010).
ah, you *really* meant "binary" as in "binary with zeroes and ones" :D sorry hehe