https://github.com/eapache/go-xerial-snappy.git

Evan Huus 2b4bcfdd67 Merge pull request #5 from shanson7/preAlloc 8 lat temu
corpus 3b4b52f978 Add basic go-fuzz support 8 lat temu
.gitignore 9f3acca2f4 Initial commit 10 lat temu
.travis.yml 2388ba0102 Add travis config 10 lat temu
LICENSE 9f3acca2f4 Initial commit 10 lat temu
README.md bb955e01b9 Travis badge 10 lat temu
fuzz.go 3b4b52f978 Add basic go-fuzz support 8 lat temu
snappy.go 580e840933 Pass in full chunk cap to Decode since it uses length 8 lat temu
snappy_test.go add554803d Support decoding into pre-allocated buffers 8 lat temu

README.md

go-xerial-snappy

Build Status

Xerial-compatible Snappy framing support for golang.

Packages using Xerial for snappy encoding use a framing format incompatible with basically everything else in existence. This package wraps Go's built-in snappy package to support it.

Apps that use this format include Apache Kafka (see https://github.com/dpkp/kafka-python/issues/126#issuecomment-35478921 for details).