GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Why Go
  • Case Studies
  • Use Cases
  • Security
  • Learn
  • Effective Go
  • Go User Manual
  • Standard library
  • Release Notes
  • API
  • Packages
  • Recorded Talks
  • Meetups
  • Conferences

This view

  • Original page
  • New address

GeezerVison is showing pkg.go.dev — bzip2 package - compress/bzip2 - Go Packages

Details

  • checked Valid go.mod file

    The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.

  • checked Redistributable license

    Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.

  • checked Tagged version

    Modules with tagged versions give importers more predictable builds.

  • checked Stable version

    When a project reaches major version v1 it is considered stable.

  • Learn more about best practices

Repository

cs.opensource.google/go/go

Links

  • Report a Vulnerability

Documentation ¶

Overview ¶

Package bzip2 implements bzip2 decompression.

Index ¶

  • func NewReader(r io.Reader) io.Reader
  • type StructuralError
    • func (s StructuralError) Error() string

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

Source Files ¶

View all Source files
  • bit_reader.go
  • bzip2.go
  • huffman.go
  • move_to_front.go
Click to show internal directories.
Click to hide internal directories.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.