read_header

Function read_header 

Source
pub fn read_header<R>(reader: &mut R) -> Result<String>
where R: Read + ReadBytesExt,
Expand description

read the header lines to a String use Header::from_string(text) to convert the string into structured data