Regarding hex strings

Simen Kjaeraas simen.kjaras at gmail.com
Mon Oct 22 04:38:07 PDT 2012


On 2012-45-18 02:10, bearophile <bearophileHUGS at lycos.com> wrote:

> So maybe the following literals are more useful in D2:
>
> ubyte[] data4 = x[A1 B2 C3 D4];
> uint[]  data5 = x[A1 B2 C3 D4];
> ulong[] data6 = x[A1 B2 C3 D4 A1 B2 C3 D4];

That syntax is already taken, though.

Still, I see no reason for x"..." not to return ubyte[].

-- 
Simen


More information about the Digitalmars-d mailing list