I see the doc here has example of how to mmap the whole file Memory-mapped I/O · The Julia Language
But say if I want to mmap bytes n
to m
of a file to an array, is that possible?
Do I have to use unsafe_wrap
?
I see the doc here has example of how to mmap the whole file Memory-mapped I/O · The Julia Language
But say if I want to mmap bytes n
to m
of a file to an array, is that possible?
Do I have to use unsafe_wrap
?
Optionally, you can specify an offset (in bytes) if, for example, you want to skip over a header in the file. The default value for the offset is the current stream position for an
IOStream
.