Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ZstdCompress ¶
ZstdCompress compresses data using zstd compression. If the data is not compressible, it will be returned as is with a leading 0. If the data is compressible, it will be returned with a leading 1.
func ZstdDecompress ¶
ZstdDecompress decompresses data using zstd compression. It strips the leading 0 or 1 and decompresses the data if necessary.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.