Crate zopen

source ·
Expand description

Simple crate that automatically open compressed files.

The compressor used is determined by the file extension. If the corresponding compression library is not available (i.e. the corresponding feature is not activated), the crate tries to use an external compression tool (gzip, bzip2 or xz).

Functions

Open a possibly compressed file for reading.
Open a possibly compressed file for writing.