compress: github.com/dsnet/compress/flate Index | Files

package flate

import "github.com/dsnet/compress/flate"

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

Index

Package Files

common.go dict_decoder.go prefix.go reader.go

type Reader Uses

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 Uses

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

func (*Reader) Close Uses

func (zr *Reader) Close() error

func (*Reader) Read Uses

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

func (*Reader) Reset Uses

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

type ReaderConfig Uses

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

Package flate imports 4 packages (graph) and is imported by 1 packages. Updated 2019-08-28. Refresh now. Tools for package owners.