andrew_nuss@yahoo.com Guest
|
Posted: Thu Dec 28, 2006 10:10 am Post subject: setpos, readat for very large files |
|
|
Hi,
I am writing a class to stream files on behalf of a JNI application.
The files could be larger than 2gig and I need to be able to
setfpos(long long) on a 32-bit machine and then read the next 2048
chars into a buffer.
What's the best way to do this in C++. My file positions are saved in
a long long.
Thanks,
Andy
--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ] |
|