package bzip2
import "compress/bzip2"
Package bzip2 implements bzip2 decompression.
Index ¶
Functions ¶
func NewReader ¶
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.
Types ¶
type StructuralError ¶
type StructuralError string
A StructuralError is returned when the bzip2 data is found to be syntactically invalid.
func (StructuralError) Error ¶
func (s StructuralError) Error() string
Source Files ¶
bit_reader.go bzip2.go huffman.go move_to_front.go
- Version
- v1.18.3
- Published
- Jun 1, 2022
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 9 seconds ago –
Tools for package owners.