Cast to ubyte* and slice? ubyte[] array = (cast(ubyte*)pointer)[0..length]; "teo" <teo.ubuntu at yahoo.com> wrote in message news:ivn0n8$14ig$1 at digitalmars.com... > Is there any way of wrapping a void* by a ubyte[] array? The void* comes > from mmap.