Crate anycat [] [src]

Functions

readfile

Returns a BufRead to the file denoted by the given fname. The stream is possibly decompressed using the following scheme. Depending on the file extension, the following algorithm is used: - .gz, .gzip ===> GZIP - .z , .zlib ===> ZLIB - .dfl ===> DEFLATE - .bz2, .bzip ===> BZ2 - .xz2, .lzma ===> LZMA (xz2) - .br , .brotli => BROTLI