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

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

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).