compress

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: BSD-3-Clause Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gzip

func Gzip(input []byte) ([]byte, error)

func Snappy

func Snappy(bs []byte) (_r []byte)

func UnGzip

func UnGzip(compressed []byte) ([]byte, error)

func UnSnappy

func UnSnappy(bs []byte) (_r []byte, err error)

func UnZlib

func UnZlib(compressed []byte) ([]byte, error)

func UnZstd

func UnZstd(bs []byte) ([]byte, error)

func Zlib

func Zlib(input []byte) ([]byte, error)

func ZlibLevel

func ZlibLevel(bs []byte, level int) (_r []byte, err error)

func Zstd

func Zstd(bs []byte) (_r []byte, err error)

func ZstdLevel

func ZstdLevel(bs []byte, level zstd.EncoderLevel) (_r []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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