egzip

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gzip压缩数据

func Gzip压缩数据(data []byte, level ...int) ([]byte, error)

Gzip压缩数据 对数据进行GZIP压缩。 T压缩等级 [-1] 默认压缩等级 [1] 最大压缩速度 [9] 最大压缩尺寸。 1 to 9 which means from none to the best compression.

Note that it returns error if given <level> is invalid.

func Gzip解压数据

func Gzip解压数据(data []byte) ([]byte, error)

Gzip解压数据 对数据进行GZIP解压。

Types

This section is empty.

Jump to

Keyboard shortcuts

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