compress

package
v0.0.0-...-c03a20c Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 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 CompressOpGzip

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

func (*CompressOpGzip) Compress

func (self *CompressOpGzip) Compress(data []byte) ([]byte, error)

func (*CompressOpGzip) Decompress

func (self *CompressOpGzip) Decompress(data []byte) ([]byte, error)

func (*CompressOpGzip) Init

func (self *CompressOpGzip) Init(direct bool, params []interface{}) bool

func (*CompressOpGzip) Operate

func (self *CompressOpGzip) Operate(input interface{}, output interface{}) (bool, error)

type CompressOpZlib

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

func (*CompressOpZlib) Compress

func (self *CompressOpZlib) Compress(data []byte) ([]byte, error)

func (*CompressOpZlib) Decompress

func (self *CompressOpZlib) Decompress(data []byte) ([]byte, error)

func (*CompressOpZlib) Init

func (self *CompressOpZlib) Init(direct bool, params []interface{}) bool

func (*CompressOpZlib) Operate

func (self *CompressOpZlib) Operate(input interface{}, output interface{}) (bool, error)

Jump to

Keyboard shortcuts

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