compress

package
v9.6.15 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 4 Imported by: 3

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