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

package brotli

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

Package brotli implements the Brotli compressed data format, described in RFC 7932.

Index

Package Files

bit_reader.go bit_writer.go common.go context.go dict.go dict_decoder.go dict_encoder.go prefix.go prefix_decoder.go prefix_encoder.go reader.go transform.go writer.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 (br *Reader) Close() error

func (*Reader) Read Uses

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

func (*Reader) Reset Uses

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

type ReaderConfig Uses

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

Package brotli imports 6 packages (graph) and is imported by 8 packages. Updated 2018-10-11. Refresh now. Tools for package owners.