On Thu, 09 Oct 2014 15:26:52 +0000 Anibal via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
additionally to all bearophile said, there is another interesting thing in D: special string literals for hex data. immutable ubyte[] n = cast(typeof(n))x"deadf00d"; or even: immutable ubyte[] n = cast(typeof(n))x"de ad f 0 0 d"; spaces doesn't matter, only digits do.
signature.asc
Description: PGP signature