zlib

package module
v0.0.0-...-167f29a Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package zlib defines filters to compress/uncompress data using zlib. These filters can be connected to other filters via io.Pipes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromZlib

func FromZlib(r io.Reader) *io.PipeReader

FromZlib reads data compressed using zlib from r and decompresses it. The decompressed data can be read from the returned PipeReader.

func ToZlib

func ToZlib(r io.Reader) *io.PipeReader

Tozlib reads data from r and compresses it using zlib with the best compression method available to it. The compressed data can be read using the returned PipeReader.

Types

This section is empty.

Jump to

Keyboard shortcuts

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