compressKit

package
v2.1.58 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gzip

func Gzip(data []byte, level ...int) ([]byte, error)

func GzipFile

func GzipFile(srcFilePath, dstFilePath string, level ...int) (err error)

func GzipPathWriter

func GzipPathWriter(filePath string, writer io.Writer, level ...int) error

func UnGzip

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

func UnGzipFile

func UnGzipFile(srcFilePath, dstFilePath string) error

func UnZipContent

func UnZipContent(zippedContent []byte, dstFolderPath string, zippedPrefix ...string) error

func UnZipFile

func UnZipFile(zippedFilePath, dstFolderPath string, zippedPrefix ...string) error

func UnZlib

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

func ZipPath

func ZipPath(fileOrFolderPaths, dstFilePath string, prefix ...string) error

func ZipPathContent

func ZipPathContent(fileOrFolderPaths string, prefix ...string) ([]byte, error)

func ZipPathWriter

func ZipPathWriter(fileOrFolderPaths string, writer io.Writer, prefix ...string) error

func Zlib

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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