Mail Archives: djgpp/1997/06/03/19:50:28
Patrick J. Morris wrote:
>
> If I use a compressed file in Allegro and I need to read in chunks at a
> time
> and might possible read a chunk several 1000 times during program
> execution. How
> would I do this? I think that I should use the pack_fopen_chunk(), but
> how would
> I go back and forth in a file if I can't use seek because the file is
> compressed.
If the file isn't too large, you might unpack it to a buffer (memory or
new file) first and operate on that instead.
- Raw text -