mismall 2.0.0

Streaming Huffman compression library with AES-256-GCM encryption and archive support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Test for one doc example

fn main() {
    let result = test_result();
    assert!(result.is_ok());
}

fn test_result() -> Result<(), Box<dyn std::error::Error>> {
    use mismall::archive::ArchiveBuilder;

    let builder = ArchiveBuilder::new().add_file("document.txt", b"Hello, world!")?;

    Ok(())
}