| 1 |
# snappy |
| 2 |
|
| 3 |
The Snappy compression format in the Go programming language. |
| 4 |
|
| 5 |
This is a drop-in replacement for `github.com/golang/snappy`. |
| 6 |
|
| 7 |
It provides a full, compatible replacement of the Snappy package by simply changing imports. |
| 8 |
|
| 9 |
See [Snappy Compatibility](https://github.com/klauspost/compress/tree/master/s2#snappy-compatibility) in the S2 documentation. |
| 10 |
|
| 11 |
"Better" compression mode is used. For buffered streams concurrent compression is used. |
| 12 |
|
| 13 |
For more options use the [s2 package](https://pkg.go.dev/github.com/klauspost/compress/s2). |
| 14 |
|
| 15 |
# usage |
| 16 |
|
| 17 |
Replace imports `github.com/golang/snappy` with `github.com/klauspost/compress/snappy`. |