compression

package
v1.2.23 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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