compression

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RARPseudoEncrypt

func RARPseudoEncrypt(data []byte) (fixedBin []byte, err error)

func TGZCount

func TGZCount(tr *tar.Reader) int

func TGZHash

func TGZHash(tf *tar.Header, f *tar.Reader, t encoding.HashType) (sisyphus.Pair[string, []byte], error)

func Unzip

func Unzip(filePath string, out string) error

Unzip 解压缩文件

func ZIPHashC

func ZIPHashC(f *zip.File, t encoding.HashType, wg *sync.WaitGroup, r chan<- sisyphus.Pair[string, []byte])

ZIPHash Calculate ZIP File Hash 并发计算压缩包内每个文件的 Hash

Types

This section is empty.

Jump to

Keyboard shortcuts

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