Unified Stream-based (De)Compression Library

N

Nordlöw

Does anyone know of a compression/decompression library that, with a
unified interface, wraps the most common compression formats (gzip,
bzip2, lzma, ...) similar to what gstreamer, ffmpeg and libfreeimage
does for image and video files?

I just want a handle from which to read bytes or blocks of bytes from
a compressed file or buffer and underlying backend optimally
decompresses the related compressed blocks.

If its iostream compatible it's a bonus.

Thanks in advance,
Nordlöw
 
V

Vaclav Haisman

Nordlöw wrote, On 15.10.2009 11:05:
Does anyone know of a compression/decompression library that, with a
unified interface, wraps the most common compression formats (gzip,
bzip2, lzma, ...) similar to what gstreamer, ffmpeg and libfreeimage
does for image and video files?

I just want a handle from which to read bytes or blocks of bytes from
a compressed file or buffer and underlying backend optimally
decompresses the related compressed blocks.

If its iostream compatible it's a bonus.
libarchive2. It is C library that is BSD licensed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top