On Tue, 13 Jan 2015 17:09:31 +0000 Dominikus Dittes Scherkl via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> /// interpret an array of one type as an array of a different > type. may i point you to this? import std.stdio; void main () { ubyte[] a = [42,0,0,0, 155,2,0,0]; auto b = cast(uint[])a; writeln(b); // "[42, 667]" }
signature.asc
Description: PGP signature