compress

package
v6.0.5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 License: MIT Imports: 3 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