Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compress ¶
type Compress struct {
Type TypeStr
}
Compress holds a compression type and provides methods to compress/decompress data.
func NewCompress ¶
NewCompress creates a new Compress instance with the specified compression type.
func (*Compress) Compress ¶
Compress compresses the input byte slice using the specified compression algorithm.
func (*Compress) Decompress ¶
Decompress decompresses the input byte slice using the specified compression algorithm.
func (*Compress) TypeString ¶
TypeString returns the string representation of the compression type.
Click to show internal directories.
Click to hide internal directories.