compressors

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: Apache-2.0 Imports: 0 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compressor

type Compressor interface {
	// GetType returns the string type identifier of the compressor.
	GetType() string
	// Compress compresses a slice of bytes.
	Compress([]byte) ([]byte, error)
	// Decompress decompresses a slice of compressed bytes.
	Decompress([]byte) ([]byte, error)
}

Compressor declares the functionality provided by the different supported compressors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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