Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compressor ¶
type Compressor interface { // GetType returns the string type identifier of the compressor. GetType() string // Compress compresses a slice of bytes. Compress([]byte) ([]byte, error) // Decompress decompresses a slice of compressed bytes. Decompress([]byte) ([]byte, error) }
Compressor declares the functionality provided by the different supported compressors.
Click to show internal directories.
Click to hide internal directories.