Expand description
Yaz0 compression and decompression.
§Compression
Compression is not yet supported.
§Decompression
Decompress a Yaz0 compressed file:
fn main() -> Result<()> {
let mut file = File::open("data.yaz0")?;
let mut reader = picori::Yaz0Reader::new(file)?;
let _ = reader.decompress()?;
Ok(())
}
§References
Yaz0 - Implementation of the Yaz0 decompression is based on the specification and format description by Amnoid.
Structs§
- Yaz0
Reader - Decompresses a Yaz0 compressed file.
Functions§
- is_yaz0
- Check if the given data is compressed with Yaz0 by looking for the Yaz0 magic.