bzip2

bzip2

https://pkg.go.dev/compress/bzip2@go1.20.1

Package bzip2 implements bzip2 decompression.

常量

This section is empty.

变量

This section is empty.

函数

func NewReader

1
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.

类型

type StructuralError

1
type StructuralError string

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

(StructuralError) Error

1
func (s StructuralError) Error() string