lijian 48c2e0e9f9 依赖更新为 go mod 1 سال پیش
..
.gitignore 48c2e0e9f9 依赖更新为 go mod 1 سال پیش
AUTHORS 48c2e0e9f9 依赖更新为 go mod 1 سال پیش
CONTRIBUTORS 48c2e0e9f9 依赖更新为 go mod 1 سال پیش
LICENSE 48c2e0e9f9 依赖更新为 go mod 1 سال پیش
README.md 48c2e0e9f9 依赖更新为 go mod 1 سال پیش
decode.go 48c2e0e9f9 依赖更新为 go mod 1 سال پیش
encode.go 48c2e0e9f9 依赖更新为 go mod 1 سال پیش
snappy.go 48c2e0e9f9 依赖更新为 go mod 1 سال پیش

README.md

snappy

The Snappy compression format in the Go programming language.

This is a drop-in replacement for github.com/golang/snappy.

It provides a full, compatible replacement of the Snappy package by simply changing imports.

See Snappy Compatibility in the S2 documentation.

"Better" compression mode is used. For buffered streams concurrent compression is used.

For more options use the s2 package.

usage

Replace imports github.com/golang/snappy with github.com/klauspost/compress/snappy.