zst

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package zst provides methods for unpacking files with Zstandart compression

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNilReader   = fmt.Errorf("Reader can not be nil")
	ErrEmptyInput  = fmt.Errorf("Path to input file can not be empty")
	ErrEmptyOutput = fmt.Errorf("Path to output file can not be empty")
)

Functions

func Read

func Read(r io.Reader, output string) error

Read reads compressed data using given reader and unpacks it to the given directory

func Unpack

func Unpack(file, dir string) error

Unpacks file to given directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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