compression

package
v0.0.0-...-65f4181 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSwCompression

func NewSwCompression() *swCompression

Types

type Compression

type Compression interface {
	CompressBytes(plaintext []byte) ([]byte, error)
	CompressString(plaintext string) (string, error)

	DecompressBytes(compressed []byte) ([]byte, error)
	DecompressString(compressed string) (string, error)
}

Jump to

Keyboard shortcuts

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