compressor

package
v0.0.0-...-c7af8be Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoopCompressor

type NoopCompressor struct {
}

func NewNoopCompressor

func NewNoopCompressor() *NoopCompressor

func (*NoopCompressor) Decode

func (n *NoopCompressor) Decode(bytes []byte) ([]byte, error)

func (*NoopCompressor) Encode

func (n *NoopCompressor) Encode(bytes []byte) ([]byte, error)

type SnappyCompressor

type SnappyCompressor struct {
}

func NewSnappyCompressor

func NewSnappyCompressor() *SnappyCompressor

func (*SnappyCompressor) Decode

func (s *SnappyCompressor) Decode(bytes []byte) ([]byte, error)

func (*SnappyCompressor) Encode

func (s *SnappyCompressor) Encode(bytes []byte) ([]byte, error)

type ZlibCompressor

type ZlibCompressor struct {
}

func NewZlibCompressor

func NewZlibCompressor() *ZlibCompressor

func (*ZlibCompressor) Decode

func (c *ZlibCompressor) Decode(b []byte) ([]byte, error)

func (*ZlibCompressor) Encode

func (c *ZlibCompressor) Encode(b []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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