compress: Index | Files

package brotli

import ""

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


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 20 packages. Updated 2020-12-30. Refresh now. Tools for package owners.