bzip2

package standard library
master (315b6ae) Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: BSD-3-Clause Imports: 4 Imported by: 2,672

Documentation

Overview

Package bzip2 implements bzip2 decompression.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReader

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.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL