Convert a hex string into a ubyte[] or OutBuffer

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 7 15:15:41 PST 2016


On Thursday, 7 January 2016 at 21:00:06 UTC, zabruk70 wrote:
> 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.

Damn, I've been trapped, thread exhumated from 2014 ...


More information about the Digitalmars-d-learn mailing list