compression

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLz4CompBuiltin added in v0.0.3

func NewLz4CompBuiltin(in io.Reader) (io.Reader, error)

NewLz4CompBuiltin returns a new lz4 compressor based on github.com/pierrec/lz4

DISCLAIMER: As of today, it doesn't support Block Dependency encryption

which is required for CloudSync.

func NewLz4CompExternal added in v0.0.3

func NewLz4CompExternal(in io.Reader) (io.Reader, error)

NewLz4CompExternal returns a new LZ4 compressor using an external lz4 command. This command must be installed prior execution.

func NewLz4DecompBuiltin added in v0.0.3

func NewLz4DecompBuiltin(out io.Writer) (io.WriteCloser, error)

NewLz4DecompBuiltin returns a new lz4 decompressor based on

func NewLz4DecompExternal added in v0.0.3

func NewLz4DecompExternal(out io.Writer) (io.WriteCloser, error)

NewLz4DecompExternal returns a new LZ4 decompressor using an external lz4 command. This command must be installed prior execution.

Types

This section is empty.

Jump to

Keyboard shortcuts

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