[Haskell-cafe] haskell zlip read position
Henning Thielemann
lemming at henning-thielemann.de
Wed Jul 20 15:03:32 CEST 2011
On Wed, 20 Jul 2011, rahul wrote:
> Hi Guys,
> I am trying to parse a binary stream with the format for one entry
> [headers, zlib compressed content] , with multiple entries.
> I can use the Zlib library to get the content for the first entry after
> the headers, but I cannot find a way to get the offset to start parsing
> for the second entry. Is there a way I can get this information out of
> ZLib? or is there a better approach to doing this? Any pointers would be
> very much appreciated.
As far as I know, these are compressors for single files. Multiple files
can be compressed in connection with TAR, that can be manipulated from
Haskell using the 'tar' package.
More information about the Haskell-Cafe
mailing list