Help us shape the future of Go! Take the 2026 Go Developer Survey

compress

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(data []byte) ([]byte, error)

Compress compresses the input data using Snappy and returns the compressed data or an error.

func Decompress

func Decompress(compressedData []byte) ([]byte, error)

Decompress decompresses the input Snappy-compressed data and returns the original data or an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL