xzlib

package
v1.8.2-0...-f7776fc Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: GPL-2.0, GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package zlib provides convenience utilities to compress/decompress zlib data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(data []byte) (zdata []byte)

Compress compresses data according to zlib encoding.

default level and dictionary are used.

func Decompress

func Decompress(zdata []byte) (data []byte, err error)

Decompress decompresses data according to zlib encoding.

return: destination buffer with full decompressed data or error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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