compression

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(plainSrc, gzDst string) (written int64, err error)

Compress takes the path plainSrc compresses it and writes it to the path gzDst. Returns the number of bytes that were written to gzDst.

func Decompress

func Decompress(gzSrc, plainDst string) (written int64, err error)

Decompress loads the path gzSrc decompresses the contents and writes to plainDst. Returns the number of bytes that were written to plainDst.

Types

This section is empty.

Jump to

Keyboard shortcuts

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