zip

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gzip

func Gzip(data []byte) string

* * @Description: Gzip 旧版本,少尾部8byte * @param: data * @return: string * @Author: Iori * @Date: 2022-06-15 18:35:52 *

func GzipDecode

func GzipDecode(in []byte) ([]byte, error)

* * @Description: gzip Decode * @param: in * @return: []byte * @return: error * @Author: Iori * @Date: 2022-06-01 15:09:22 *

func GzipEncode

func GzipEncode(in []byte) ([]byte, error)

* * @Description: gzip Encode * @param: in * @return: string * @return: error * @Author: Iori * @Date: 2022-05-31 21:38:05 *

func GzipEncodeStr

func GzipEncodeStr(in string) (string, error)

* * @Description: * @param: in * @return: string * @return: error * @Author: Iori * @Date: 2022-06-01 16:34:42 *

func UnGzip

func UnGzip(data []byte) ([]byte, error)

* * @Description: Gzip 旧版本,少尾部8byte * @param: data * @return: string * @return: error * @Author: Iori * @Date: 2022-06-15 18:35:50 *

func ZipDecode

func ZipDecode(data []byte) ([]byte, error)

* * @Description: decode * @param: data * @return: []byte * @Author: Iori * @Date: 2022-06-01 15:10:03 *

func ZipDecodeStr

func ZipDecodeStr(data string) string

func ZipEncode

func ZipEncode(data []byte) []byte

* * @Description: encode * @param: data * @return: []byte * @Author: Iori *

func ZipEncodeStr

func ZipEncodeStr(data string) string

* * @Description: string encode * @param: data * @return: string * @Author: Iori * @Date: 2022-06-01 15:12:16 *

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL