Can someone provide an example of seeking, reading, and writing a >4GB file using boost iostreams

Posted by Queueless on Stack Overflow See other posts from Stack Overflow or by Queueless
Published on 2009-08-19T15:16:31Z Indexed on 2010/03/19 15:51 UTC
Read the original article Hit count: 532

Filed under:
|
|

I have read that boost iostreams supposedly supports 64 bit access to large files semi-portable way. Their FAQ mentions 64 bit offset functions, but there is no examples on how to use them. Has anyone used this library for handling large files? A simple example of opening two files, seeking to their middles, and copying one to the other would be very helpful.

Thanks.

© Stack Overflow or respective owner

Related posts about boost-iostreams

Related posts about c++