Convert hex to binary

nrgyzer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 24 11:14:05 PDT 2015


Hi,

I'm looking for a function that converts my hex-string to a 
binary representation. In Python I write the following:

myHex = "123456789ABCDEF"
myBin = myHex.decode('hex')

But how to do the same in D? Is there any function?

Thanks for suggestions!


More information about the Digitalmars-d-learn mailing list