missingzip

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compressor

type Compressor interface {
	Decompress(src []byte, uncompressedSize int) ([]byte, error)
}

type Method

type Method int32
const (
	None    Method = 0
	Zlib    Method = 1
	Gzip    Method = 2
	Oodle   Method = 4
	LZ4     Method = 5
	Zstd    Method = 6
	Unknown Method = 7
)

type Registry

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

func DefaultRegistry

func DefaultRegistry() *Registry

func NewRegistry

func NewRegistry() *Registry

func (*Registry) Decompress

func (r *Registry) Decompress(src []byte, uncompressedSize int, method Method) ([]byte, error)

func (*Registry) Register

func (r *Registry) Register(method Method, c Compressor)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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