Skip to main content

get_section_buffered

Function get_section_buffered 

Source
pub fn get_section_buffered<R: Read + Seek>(
    image: &mut R,
    section_name: &str,
) -> Result<Vec<u8>, UkiError>
Expand description

Buffered version of get_section.

See get_section for details. This version works with any Read + Seek source and returns owned data instead of borrowed slices.