decompress

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decompressor

type Decompressor interface {
	Decompress([]byte) ([]byte, error)
}

type Lz4

type Lz4 struct {
	// contains filtered or unexported fields
}

func NewLz4 added in v1.2.0

func NewLz4() *Lz4

func (*Lz4) Decompress added in v1.0.0

func (l *Lz4) Decompress(data []byte) ([]byte, error)

type Lzma

type Lzma struct{}

func NewLzma added in v1.1.0

func NewLzma() (Lzma, error)

func (Lzma) Decompress added in v1.0.0

func (l Lzma) Decompress(data []byte) ([]byte, error)

type Lzo

type Lzo struct{}

func NewLzo added in v1.1.0

func NewLzo() (Lzo, error)

func (Lzo) Decompress added in v1.0.0

func (l Lzo) Decompress(data []byte) ([]byte, error)

type Xz

type Xz struct {
	// contains filtered or unexported fields
}

func NewXz added in v1.2.0

func NewXz() *Xz

func (*Xz) Decompress added in v1.0.0

func (x *Xz) Decompress(data []byte) ([]byte, error)

type Zlib added in v1.0.0

type Zlib struct {
	// contains filtered or unexported fields
}

func NewZlib added in v1.3.0

func NewZlib() *Zlib

func (*Zlib) Decompress added in v1.0.0

func (z *Zlib) Decompress(data []byte) ([]byte, error)

type Zstd

type Zstd struct {
	// contains filtered or unexported fields
}

func NewZstd added in v1.3.0

func NewZstd() Zstd

func (Zstd) Decompress added in v1.0.0

func (z Zstd) Decompress(data []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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