File: README.md

package info (click to toggle)
golang-github-klauspost-compress 1.18.1%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 46,628 kB
  • sloc: asm: 23,155; sh: 72; makefile: 12
file content (17 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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](https://github.com/klauspost/compress/tree/master/s2#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](https://pkg.go.dev/github.com/klauspost/compress/s2).

# usage

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