compression

package
v2.21.4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Zlib

type Zlib struct{}

func NewZlib

func NewZlib() *Zlib

func (*Zlib) Compress

func (*Zlib) Compress(originalData []byte) ([]byte, error)

Compress 压缩

func (*Zlib) Decompress

func (*Zlib) Decompress(data []byte) ([]byte, error)

Decompress 解压缩

Jump to

Keyboard shortcuts

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