Docs.rs
niffler-temp-2.7.1
niffler-temp 2.7.1
Permalink
Docs.rs crate page
MIT
/
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
rob-p
Dependencies
bgzip ^0.3
normal
optional
bzip2 ^0.4.4
normal
optional
cfg-if ^1.0
normal
flate2 ^1.0
normal
optional
liblzma ^0.3
normal
optional
thiserror ^2.0
normal
zstd ^0.13
normal
optional
criterion ^0.5
dev
tempfile ^3
dev
Versions
37.5%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module basic
niffler_
temp
2.7.1
Module basic
Module Items
Modules
Functions
In crate niffler_
temp
niffler_temp
Module
basic
Copy item path
Source
Modules
§
compression
Functions
§
from_
path
Open a possibly compressed file and decompress it transparently.
get_
reader
Create a readable stream that can be read transparently even if the original stream is compress. Also returns the compression type of the original stream.
get_
writer
Create a new writable stream with the given compression format and level.
sniff
Finds out what is the compression format for a stream based on magic numbers (the first few bytes of the stream).
to_path
Create a file with specific compression format.