Documentation
¶
Index ¶
- func Gzip(data []byte) string
- func GzipDecode(in []byte) ([]byte, error)
- func GzipEncode(in []byte) ([]byte, error)
- func GzipEncodeStr(in string) (string, error)
- func UnGzip(data []byte) ([]byte, error)
- func ZipDecode(data []byte) ([]byte, error)
- func ZipDecodeStr(data string) string
- func ZipEncode(data []byte) []byte
- func ZipEncodeStr(data string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Gzip ¶
* * @Description: Gzip 旧版本,少尾部8byte * @param: data * @return: string * @Author: Iori * @Date: 2022-06-15 18:35:52 *
func GzipDecode ¶
* * @Description: gzip Decode * @param: in * @return: []byte * @return: error * @Author: Iori * @Date: 2022-06-01 15:09:22 *
func GzipEncode ¶
* * @Description: gzip Encode * @param: in * @return: string * @return: error * @Author: Iori * @Date: 2022-05-31 21:38:05 *
func GzipEncodeStr ¶
* * @Description: * @param: in * @return: string * @return: error * @Author: Iori * @Date: 2022-06-01 16:34:42 *
func UnGzip ¶
* * @Description: Gzip 旧版本,少尾部8byte * @param: data * @return: string * @return: error * @Author: Iori * @Date: 2022-06-15 18:35:50 *
func ZipDecode ¶
* * @Description: decode * @param: data * @return: []byte * @Author: Iori * @Date: 2022-06-01 15:10:03 *
func ZipDecodeStr ¶
func ZipEncodeStr ¶
* * @Description: string encode * @param: data * @return: string * @Author: Iori * @Date: 2022-06-01 15:12:16 *
Types ¶
This section is empty.