gf: github.com/gogf/gf/g/encoding/gcompress Index | Files

package gcompress

import "github.com/gogf/gf/g/encoding/gcompress"

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

Index

Package Files

gcompress.go

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.