On 09/27/2017 02:39 PM, timvol wrote:[...]void main() { auto mem = new ubyte[1024+15];auto ptr = cast(ubyte*)(cast(ulong)(mem.ptr + 15) & ~0x0FUL);auto arr = ptr[0..1024]; } Ali
Works perfect. Thank you!
On 09/27/2017 02:39 PM, timvol wrote:[...]void main() { auto mem = new ubyte[1024+15];auto ptr = cast(ubyte*)(cast(ulong)(mem.ptr + 15) & ~0x0FUL);auto arr = ptr[0..1024]; } Ali
Works perfect. Thank you!