Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeserializeGob ¶
func SerializeGob ¶
Types ¶
type Compressor ¶
type ZstdCompressor ¶
type ZstdCompressor struct {
// contains filtered or unexported fields
}
func NewZstdCompressor ¶
func NewZstdCompressor() (*ZstdCompressor, error)
func (*ZstdCompressor) Decompress ¶
func (z *ZstdCompressor) Decompress(data []byte) ([]byte, error)
func (*ZstdCompressor) IsCompressed ¶
func (z *ZstdCompressor) IsCompressed(data []byte) bool
IsCompressed checks if data is zstd-compressed (simplified check)
Click to show internal directories.
Click to hide internal directories.