On Thu, 14 Jul 2011 17:07:20 +0200, teo <[email protected]> wrote:
Is there any way of wrapping a void* by a ubyte[] array? The void* comes from mmap.
byte[] array = cast(ubyte[])mmap(addr, length, ...)[0..length;] -- Simen
On Thu, 14 Jul 2011 17:07:20 +0200, teo <[email protected]> wrote:
Is there any way of wrapping a void* by a ubyte[] array? The void* comes from mmap.
byte[] array = cast(ubyte[])mmap(addr, length, ...)[0..length;] -- Simen