compress

package
v10.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 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