Convert a hex string into a ubyte[] or OutBuffer

zabruk70 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 7 13:00:06 PST 2016


Hello.
In modern phobos ver 2.069.1 exists template hexString

https://dlang.org/phobos/std_conv.html#.hexString

to convert hex string to bytes.
It works in compile time only.
But what if i need it in run time?

Is the answer in this topic still best way?
Or now we have some function/template in phobos?

Thanks.


More information about the Digitalmars-d-learn mailing list