Documentation ¶
Overview ¶
* @Author: kamalyes 501893067@qq.com * @Date: 2024-10-24 11:25:16 * @LastEditors: kamalyes 501893067@qq.com * @LastEditTime: 2024-11-08 12:09:00 * @FilePath: \go-toolbox\pkg\zipx\zlib.go * @Description: * * Copyright (c) 2024 by kamalyes, All Rights Reserved.
Index ¶
- func GzipCompress(data []byte) ([]byte, error)
- func GzipDecompress(compressedData []byte) ([]byte, error)
- func MultiGZipCompress(data []byte, times int) ([]byte, error)
- func MultiGZipDecompress(compressedData []byte, times int) ([]byte, error)
- func MultiZlibCompress(data []byte, times int) ([]byte, error)
- func MultiZlibDecompress(compressedData []byte, times int) ([]byte, error)
- func ZlibCompress(data []byte) ([]byte, error)
- func ZlibDecompress(compressedData []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GzipDecompress ¶
GzipDecompress 解压缩 gzip 压缩的数据
func MultiGZipCompress ¶ added in v0.11.5
MultiGZipCompress 支持多次压缩
func MultiGZipDecompress ¶ added in v0.11.5
MultiGZipDecompress 支持多次解压缩
func MultiZlibCompress ¶ added in v0.11.5
MultiZlibCompress 支持多次压缩
func MultiZlibDecompress ¶ added in v0.11.5
MultiZlibDecompress 支持多次解压缩
func ZlibDecompress ¶
ZlibDecompress 解压缩数据
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.