1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//! # OxiArc Deflate
//!
//! Pure Rust implementation of the DEFLATE compression algorithm (RFC 1951).
//!
//! This crate provides compression and decompression of DEFLATE data, which
//! is the basis for ZIP, GZIP, and PNG formats.
//!
//! ## Features
//!
//! - **Decompression**: Full support for all DEFLATE block types
//! - Stored (uncompressed) blocks
//! - Fixed Huffman codes
//! - Dynamic Huffman codes
//! - **Compression**: LZ77 + Huffman encoding
//! - Multiple compression levels (0-9)
//! - Fixed Huffman codes
//!
//! ## Example
//!
//! ```rust
//! use oxiarc_deflate::{deflate, inflate};
//!
//! // Compress data
//! let original = b"Hello, World! Hello, World!";
//! let compressed = deflate(original, 6).unwrap();
//!
//! // Decompress data
//! let decompressed = inflate(&compressed).unwrap();
//! assert_eq!(&decompressed, original);
//! ```
//!
//! ## Compression Levels
//!
//! - Level 0: No compression (stored blocks)
//! - Level 1-3: Fast compression
//! - Level 4-6: Balanced (default is 6)
//! - Level 7-9: Best compression (slower)
// Re-exports
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;