Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZstdCompressor ¶
type ZstdCompressor struct {
// contains filtered or unexported fields
}
func NewCompressor ¶
func NewCompressor() *ZstdCompressor
func (*ZstdCompressor) Compress ¶
func (c *ZstdCompressor) Compress(src []byte) []byte
this will return a zstd format data.
type ZstdDecompressor ¶
type ZstdDecompressor struct {
// contains filtered or unexported fields
}
func NewDecompressor ¶
func NewDecompressor() *ZstdDecompressor
func (*ZstdDecompressor) Decompress ¶
func (c *ZstdDecompressor) Decompress(dst, src []byte) []byte
this will return a original data.
Click to show internal directories.
Click to hide internal directories.