compress

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reader

func Reader(i io.Reader) []byte

Read io.Reader and return []byte

Types

type Interface

type Interface interface {
	// The Decode method will first decode and then overwrite the data in the input *bytes.Buffer.
	Encode([]byte) (*bytes.Buffer, error)

	Decode(*bytes.Buffer)
}

The Interface interface is a unified interface of compress, and the custom interface is not available for now.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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