compression

package
v0.0.0-...-141b800 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package compression provides different compression and decompression functions for the usages in the buildbucket.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ZlibCompress

func ZlibCompress(data []byte) ([]byte, error)

ZlibCompress compresses data using zlib.

func ZlibDecompress

func ZlibDecompress(compressed []byte) ([]byte, error)

ZlibDecompress decompresses data using zlib.

func ZstdCompress

func ZstdCompress(src, dst []byte) []byte

ZstdCompress compresses src and append it to dst.

func ZstdDecompress

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

ZstdDecompress decompresses input and append it to dst.

Types

This section is empty.

Jump to

Keyboard shortcuts

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