Documentation ¶
Index ¶
- func BrotliDncode(data []byte) ([]byte, error)
- func BrotliEncode(data []byte) []byte
- func BrotliLevelEncode(data []byte, level int) []byte
- func FlateDecode(data []byte) ([]byte, error)
- func FlateEncode(data []byte, level int) ([]byte, error)
- func GzipDncode(data []byte) ([]byte, error)
- func GzipEncode(data []byte) []byte
- func GzipLevelEncode(data []byte, level int) ([]byte, error)
- func ZlibDncode(data []byte) ([]byte, error)
- func ZlibEncode(data []byte) []byte
- func ZlibLevelEncode(data []byte, level int) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BrotliEncode ¶
BrotliEncode Brotli压缩数据 @param data 待压缩的数据
func BrotliLevelEncode ¶
BrotliLevelEncode Brotli压缩数据 @param data 待压缩的数据 @param level 压缩等级
func FlateDecode ¶
FlateDecode deflate解压数据 @param data 待解压的数据
func FlateEncode ¶
FlateEncode deflate压缩数据 @param data 待压缩的数据 @param level 压缩等级
func GzipLevelEncode ¶
GzipLevelEncode gzip压缩数据 @param data 待压缩的数据 @param level 压缩等级
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.