Struct flate2::GzHeader
[−]
[src]
pub struct GzHeader { /* fields omitted */ }A structure representing the header of a gzip stream.
The header can contain metadata about the file that was compressed, if present.
Methods
impl Header[src]
fn filename(&self) -> Option<&[u8]>[src]
Returns the filename field of this gzip stream's header, if present.
fn extra(&self) -> Option<&[u8]>[src]
Returns the extra field of this gzip stream's header, if present.
fn comment(&self) -> Option<&[u8]>[src]
Returns the comment field of this gzip stream's header, if present.
fn mtime(&self) -> u32[src]
Returns the mtime field of this gzip stream's header, if present.