[][src]Crate libflate_lz77

The interface and implementations of LZ77 compression algorithm.

LZ77 is a compression algorithm used in DEFLATE.

Structs

DefaultLz77Encoder

A Lz77Encode implementation used by default.

DefaultLz77EncoderBuilder

Type for constructing instances of DefaultLz77Encoder.

NoCompressionLz77Encoder

A no compression implementation of LZ77Encode trait.

Enums

Code

A LZ77 encoded data.

CompressionLevel

Compression level.

Constants

MAX_DISTANCE

Maximum backward distance of a pointer.

MAX_LENGTH

Maximum length of sharable bytes in a pointer.

MAX_WINDOW_SIZE

Maximum size of a sliding window.

Traits

Lz77Encode

The LZ77Encode trait defines the interface of LZ77 encoding algorithm.

Sink

The Sink trait represents a consumer of LZ77 encoded data.