udwFlate

package
v0.0.0-...-f254aa5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const MinUsefullInputSize = 33

Variables

This section is empty.

Functions

func CompressMustNewReader

func CompressMustNewReader(r1 io.Reader) (r2 io.Reader)

func CompressMustNewWriter

func CompressMustNewWriter(w io.Writer) io.WriteCloser

func FlateMustCompress

func FlateMustCompress(inb []byte) (outb []byte)

func FlateUnCompress

func FlateUnCompress(inb []byte) (outb []byte, err error)

func FlateUnCompressWithTmpBuf

func FlateUnCompressWithTmpBuf(inb []byte, tmpBuf *udwBytes.BufWriter) (outb []byte, err error)

func MustFlateCompressWithBufferToBufW

func MustFlateCompressWithBufferToBufW(inb []byte, bufW *udwBytes.BufWriter)

func MustFlateUnCompress

func MustFlateUnCompress(inb []byte) (outb []byte)

func NewReader

func NewReader(r io.Reader) (r2 io.ReadCloser)

func TryCompress

func TryCompress(inData []byte) (outData []byte)

func TryCompressToBufW

func TryCompressToBufW(inData []byte, bufW *udwBytes.BufWriter)

func TryUncompress

func TryUncompress(inData []byte) (outData []byte, err error)

func TryUncompressWithTmpBuf

func TryUncompressWithTmpBuf(inData []byte, tmpBuf *udwBytes.BufWriter) (outData []byte, err error)

func UncompressMustNewReader

func UncompressMustNewReader(r io.Reader) (r2 io.ReadCloser)

Types

This section is empty.

Jump to

Keyboard shortcuts

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