compress

package
v9.0.0-...-8506f1a Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 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