If I have a large byte array (e.g. from memory mapping) and wish to read a 
bits type from it at an arbitrary offset, is the idiomatic method to cast a 
Pointer{Uint8} at the right offset to the Pointer{T} I need? Or is there 
another method? It seems an overload of reinterpret would be more what I 
expect, e.g. reinterpret(T, array, 7) Unmasking the naked pointer seems 
dangerous to me from a GC perspective.

Reply via email to