Documentation
¶
Overview ¶
Package compression provides utilities for compressing and decompressing data using gzip and hex encoding for protocol transmission.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressToHex ¶
CompressToHex compresses data using gzip and returns it as a hex-encoded string. This is useful for transmitting binary data over text-based protocols.
func DecompressHex ¶
DecompressHex decodes a hex-encoded string and decompresses it using gzip. Returns the original uncompressed data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.