Skip to content

FILE interface (fopencookie) to compressed streams (Zlib and Zstd supported); read-only

License

Notifications You must be signed in to change notification settings

cemeyer/Stream-Compressed-FILE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is not really packaged for re-use. But I thought the code might be
interesting / helpful for others looking to process long gz/zstd streams in
C with forward seeking, rewind, and ability to ignore the checksum at the
end of the stream (gzip only).

Streams may be arbitrarily nested (i.e., gzip of zstd of gzip) but detection
is not (yet) automatic.  Automated detection can be performed simply by
repeatedly attempting zopenfile() and zstdopenfile().

License? See LICENSE.

About

FILE interface (fopencookie) to compressed streams (Zlib and Zstd supported); read-only

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages