C zlib library wrapper for Go.

Jan Sušnik ce1536175d Initial commit 5 years ago
README.md ce1536175d Initial commit 5 years ago
czlib_test.go ce1536175d Initial commit 5 years ago
reader.go ce1536175d Initial commit 5 years ago
reader_test.go ce1536175d Initial commit 5 years ago
writer.go ce1536175d Initial commit 5 years ago
writer_test.go ce1536175d Initial commit 5 years ago
zstream.c ce1536175d Initial commit 5 years ago
zstream.go ce1536175d Initial commit 5 years ago
zstream.h ce1536175d Initial commit 5 years ago

README.md

czlib

C zlib wrapper for Go language based on YouTube's Vitess cgzip wrapper (src, docs).

Examples

  • For complete example of compressing and decompressing take a look at czlib_test.go file.
  • For example of compressing take a look at writer_test.go file.
  • For example of decompressing take a look at reader_test.go file.