Registry / serialization / cznic-zappy

cznic-zappy

JSON →
library0.0.0-20181122101859-ca47d358d4b1gogounverified

Implements the zappy block-based compression format, a fork of snappy with improved RLE handling.

go get github.com/cznic/zappy
INSTALL
IMPORT
SIG · CZNIC-ZAPPY
C
cznic-zappy
serializationgov0.0.0-20181122101859-ca47d358d4b1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

zappy
github.com/cznic/zappy

Compresses and decompresses data using the zappy format.

package main import ( "fmt" "github.com/cznic/zappy" ) func main() { src := []byte("Hello, World!") compressed, err := zappy.Encode(nil, src) if err != nil { panic(err) } decoded, err := zappy.Decode(nil, compressed) if err != nil { panic(err) } fmt.Println(string(decoded)) }
Debug
Known issues
gotchaCGO_ENABLED=1 required for optimal performance; pure Go fallback is slower.
fix
Build with CGO_ENABLED=1 or use the 'purego' build tag to force pure Go.
affects: all
Upgrade
Version history
0.0.0-20181122101859-ca47d358d4b1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
cznic-zappy — go get cznic-zappy · libregistry