I have a large binary (STL) file that begins with a known and fixed size header and then continues with a bunch of fixed size buffers (PODs) representing consecutive records.
I want to map the record part of the file to an stxxl::vector
for fast out-of-core processing.
The stxxl::vector<>
has a ctor that accepts a stxxl::file
, but I don't know how to tell the ctor to start the file parsing from the correct offset.
Can I do this and if so how?