compressio

package
v0.0.0-...-23e6066 Latest Latest
Warning

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

Go to latest
Published: May 3, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package compressio provides parallel compression and decompression.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReader

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

NewReader returns a new compressed reader.

func NewWriter

func NewWriter(out io.Writer, chunkSize uint32, level int) (io.WriteCloser, error)

NewWriter returns a new compressed writer.

The recommended chunkSize is on the order of 1M. Extra memory may be buffered (in the form of read-ahead, or buffered writes), and is limited to O(chunkSize * [1+GOMAXPROCS]).

Types

This section is empty.

Jump to

Keyboard shortcuts

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