From: Darren Grant Newsgroups: comp.os.msdos.djgpp Subject: Re: File Routines Date: Sun, 01 Jun 1997 22:01:26 -0700 Organization: loners anonymous Lines: 14 Message-ID: <339253A6.566@xl.ca> References: <33924A1F DOT 140F AT worldnet DOT att DOT net> Reply-To: darn AT xl DOT ca NNTP-Posting-Host: c145.xl.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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.