compressiontools

package module
v0.0.0-...-feac7cd Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compressor

type Compressor struct {
	// contains filtered or unexported fields
}

func NewCompressor

func NewCompressor(bzip, b64 bool) *Compressor

func (*Compressor) Compress

func (c *Compressor) Compress(compressVal interface{}) ([]byte, error)

type Decompressor

type Decompressor struct {
	// contains filtered or unexported fields
}

func NewDecompressor

func NewDecompressor() *Decompressor

func (*Decompressor) Decompress

func (d *Decompressor) Decompress(inp []byte, out interface{}) interface{}

Jump to

Keyboard shortcuts

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