pub struct Header {
window_size: Lz77WindowSize,
compression_level: CompressionLevel,
}
Expand description
ZLIB header.
Fields§
§window_size: Lz77WindowSize
§compression_level: CompressionLevel
Implementations§
source§impl Header
impl Header
sourcepub fn window_size(&self) -> Lz77WindowSize
pub fn window_size(&self) -> Lz77WindowSize
Returns the LZ77 window size stored in the header.
sourcepub fn compression_level(&self) -> CompressionLevel
pub fn compression_level(&self) -> CompressionLevel
Returns the compression level stored in the header.