Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compressor ¶
type Compressor struct{}
Compressor for snappy.
func (*Compressor) Compress ¶
func (c *Compressor) Compress(data []byte) []byte
func (*Compressor) Decompress ¶
func (c *Compressor) Decompress(data []byte) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.