Go: compress/bzip2 Index | Files

package bzip2

import "compress/bzip2"

Package bzip2 implements bzip2 decompression.


Package Files

bit_reader.go bzip2.go huffman.go move_to_front.go

func NewReader Uses

func NewReader(r io.Reader) io.Reader

NewReader returns an io.Reader which decompresses bzip2 data from r. If r does not also implement io.ByteReader, the decompressor may read more data than necessary from r.

type StructuralError Uses

type StructuralError string

A StructuralError is returned when the bzip2 data is found to be syntactically invalid.

func (StructuralError) Error Uses

func (s StructuralError) Error() string

Package bzip2 imports 3 packages (graph) and is imported by 1473 packages. Updated 2021-01-21. Refresh now. Tools for package owners.