zipio

package module
v0.0.0-...-d780f7f Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

README

zipio

Simple read and write for zip files.

Currently support reading and writing bytes from and to bz2, gz, lz4, and xz.

Documentation

Index

Constants

View Source
const (
	Bz2 compression = "bz2"
	Gz  compression = "gz"
	Lz4 compression = "Lz4"
	Xz  compression = "xz"
	Raw compression = "raw"
)

Variables

This section is empty.

Functions

func ReadFromFile

func ReadFromFile(path string, comp compression) (<-chan []byte, error)

func ReadFromFileAuto

func ReadFromFileAuto(path string) (<-chan []byte, error)

func WriteToFile

func WriteToFile(sender <-chan []byte, path string, comp compression) (err error)

func WriteToFileAuto

func WriteToFileAuto(sender <-chan []byte, path string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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