Crate detect_compression

Source
Expand description

BufRead and Writer detects compression algorithms from file extension.

Supported formats:

  • Gzip (.gz) by flate2 crate
  • LZ4 (.lz4) by lz4 crate

Structs§

DetectReader
The BufRead type reads from compressed or uncompressed file.
DetectWriter
The Write type writes to compressed or uncompressed file.

Enums§

Level
Compression level.

Traits§

ReadWrapperBuilder
The Read wrapper builder.
WriteWrapperBuilder
The Write wrapper builder.