Archive: Hex <-> Bin


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?


check nsisFile plugin : http://wiz0u.free.fr/prog/nsisFile/


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).


What is the problem with using an NSIS function?

Stu


No problem at all, I was just wondering.


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