Skip to content
⌘ NSIS Forum Archive

Hex <-> Bin

6 posts

aerDNA#

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?
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).
Wizou#
Originally Posted by aerDNA View Post
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" 😁 sorry hehe