[][src]Crate zopen

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

read

Open a possibly compressed file for reading.

write

Open a possibly compressed file for writing.