package
0.0.1
Repository: https://github.com/dsnet/compress.git
Documentation: pkg.go.dev

# Functions

NewReader creates a new Reader reading the given reader rs.
NewWriter creates a new Writer writing to the given writer.

# Constants

Writer configuration constants.
Writer configuration constants.
256 KiB.
Writer configuration constants.
96 KiB.
FlushFull flushes the write buffer to the underlying writer, and also resets the dictionary.
FlushIndex flushes the write buffer to the underlying writer, resets the dictionary, write the contents of the current index table, and then clears the index.
FlushSync flushes the write buffer to the underlying writer, but does not reset the dictionary.
Compression levels to be used with the underlying DEFLATE compressor.

# Structs

A Reader is an io.ReadSeeker that can read the XFLATE format.
ReaderConfig configures the Reader.
A Writer is an io.Writer that can write the XFLATE format.
WriterConfig configures the Writer.

# Type aliases

The FlushMode constants can be passed to Writer.Flush to control the specific type of flushing performed.