compress

package
v0.3.37 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(src []byte) []byte

Compress returns a compressed byte slice.

func CompressWithOption

func CompressWithOption(src []byte, level int) []byte

CompressWithOption returns compressed data using the specified level

func Decompress

func Decompress(src []byte) []byte

Decompress returns a decompressed byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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