Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnappyCompressor ¶
type SnappyCompressor struct { }
func NewCompressor ¶
func NewCompressor() *SnappyCompressor
func (*SnappyCompressor) Compress ¶
func (c *SnappyCompressor) Compress(src []byte) []byte
this will return a snappy format data.
type SnappyDecompressor ¶
type SnappyDecompressor struct { }
func NewDecompressor ¶
func NewDecompressor() *SnappyDecompressor
func (*SnappyDecompressor) Decompress ¶
func (c *SnappyDecompressor) Decompress(dst, src []byte) []byte
this will return a original data.
Click to show internal directories.
Click to hide internal directories.