flate

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package flate implements the DEFLATE compressed data format, described in RFC 1951.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	InputOffset  int64 // Total number of bytes read from underlying io.Reader
	OutputOffset int64 // Total number of bytes emitted from Read
	// contains filtered or unexported fields
}

func NewReader

func NewReader(r io.Reader, conf *ReaderConfig) (*Reader, error)

func (*Reader) Close

func (zr *Reader) Close() error

func (*Reader) Read

func (zr *Reader) Read(buf []byte) (int, error)

func (*Reader) Reset

func (zr *Reader) Reset(r io.Reader) error

type ReaderConfig

type ReaderConfig struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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