[Haskell-cafe] haskell zlip read position
rahul
gopinath at eecs.oregonstate.edu
Wed Jul 20 20:50:40 CEST 2011
Hi,
| > 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.
Unfortunately the binary protocol itself is external, so can't use a different
type of compression.
rahul
--
http://people.oregonstate.edu/~gopinatr/
More information about the Haskell-Cafe
mailing list