Cast to ubyte* and slice?

ubyte[] array = (cast(ubyte*)pointer)[0..length];

"teo" <[email protected]> wrote in message 
news:[email protected]...
> Is there any way of wrapping a void* by a ubyte[] array? The void* comes
> from mmap. 


Reply via email to