Documentation ¶
Overview ¶
Package bzip2 provides a reader and writer that propagate calls to Close.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByteReadCloser ¶
type ByteReadCloser interface { io.ReadCloser io.ByteReader }
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func NewReader ¶
func NewReader(r ByteReadCloser) *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.
Click to show internal directories.
Click to hide internal directories.