Package bzip2 implements bzip2 decompression.

bzip2.go move_to_front.go

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.

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

func (StructuralError)