gzip

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

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

Compress the @input using the gzip format

func Decompress

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

Decompress @input in the gzip format

func MustCompress

func MustCompress(input []byte) []byte

MustCompress compresses @input using gzip, and panic if it fails

func MustDecompress

func MustDecompress(input []byte) []byte

MustDecompress decompresses @input in the gzip format, and panic if it fails

Types

This section is empty.

Jump to

Keyboard shortcuts

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