pub fn parse(data: &'data [u8]) -> Result<Self> {
        let data = Bytes(data);
        let (header, tail) = pe::ImageFileHeader::parse(data)?;
        let sections = header.sections(tail)?;
        let symbols = header.symbols(data)?;

        Ok(CoffFile {
            header,
            sections,
            symbols,
            data,
        })
    }
/// Parse the raw COFF file data.
Parse the raw COFF file data.
Parse the raw COFF file data .
pub fn parse(data: &'data [u8]) -> Result<Self> {
        let data = Bytes(data);
        let (header, tail) = pe::ImageFileHeader::parse(data)?;
        let sections = header.sections(tail)?;
        let symbols = header.symbols(data)?;
        Ok(CoffFile {
            header,
            sections,
            symbols,
            data,
        })
    }
pub fn parse ( data : & ' data [ u8 ] ) -> Result < Self > { let data = Bytes ( data ) ; let ( header , tail ) = pe :: ImageFileHeader :: parse ( data ) ? ; let sections = header . sections ( tail ) ? ; let symbols = header . symbols ( data ) ? ; Ok ( CoffFile { header , sections , symbols , data , } ) }
Parse the raw COFF file data.
Parse the raw COFF file data .
data
&'data [u8]
data
&'data [u8]