Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compressor ¶
type Compressor interface { Compress(b []byte, c []byte) ([]byte, error) Decompress(c []byte, b []byte) error }
func NewCompressor ¶
func NewCompressor(compressFormat string) Compressor
func NewFlateCompressor ¶
func NewFlateCompressor() Compressor
func NewGWSnappyCompressor ¶
func NewGWSnappyCompressor() Compressor
NewGWSnappyCompressor creates a new Compressor in gwsnappy format gwsnappy is an optimized version of snappy format, but strips many useless fields
func NewLz4Compressor ¶
func NewLz4Compressor() Compressor
func NewLzwCompressor ¶
func NewLzwCompressor() Compressor
func NewSnappyCompressor ¶
func NewSnappyCompressor() Compressor
func NewZlibCompressor ¶
func NewZlibCompressor() Compressor
Source Files ¶
Click to show internal directories.
Click to hide internal directories.