gf: Index | Files

package gcompress

import ""

Package gcompress provides kinds of compression algorithms for binary/bytes data.


Package Files


func Gzip Uses

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

Gzip compresses <data> with gzip algorithm.

func UnGzip Uses

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

UnGzip decompresses <data> with gzip algorithm.

func UnZlib Uses

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

UnZlib decompresses <data> with zlib algorithm.

func Zlib Uses

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

Zlib compresses <data> with zlib algorithm.

Package gcompress imports 4 packages (graph). Updated 2019-06-24. Refresh now. Tools for package owners.