zlib

package
v0.0.0-...-aa8b1ce Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package zlib holds zlib decoders used by the GAE library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeAll

func DecodeAll(input, dst []byte) ([]byte, error)

DecodeAll allows stateless decoding of a blob of bytes.

Output will be appended to dst and the resulting slice will be returned, so if the destination size is known you can pre-allocate the destination slice to avoid allocations. DecodeAll can be used concurrently.

func HasZlibHeader

func HasZlibHeader(blob []byte) bool

HasZlibHeader checks for presence of zlib headers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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