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.
- [julia-users] Reinterpreting parts of a byte array Sebastian Good
- [julia-users] Reinterpreting parts of a byte array Ivar Nesje
- Re: [julia-users] Reinterpreting parts of a byte a... Jameson Nash
- Re: [julia-users] Reinterpreting parts of a by... Sebastian Good
