pub(crate) fn parse<R: io::Read>(reader: &mut Reader<R>, num_records: u16) -> io::Result<PdbRecords> {
        let mut records = Vec::with_capacity(num_records as usize);

        for _ in 0..num_records {
            records.push(PdbRecord {
                offset: reader.read_u32_be()?,
                id: reader.read_u32_be()?,
            });
        }

        Ok(PdbRecords {
            records,
            extra_bytes: reader.read_u16_be()?,
        })
    }
/// Parse the records from a reader. Reader must be advanced to the starting position
/// of the records, at byte 78.
Parse the records from a reader. Reader must be advanced to the starting position
of the records, at byte 78.
Parse the records from a reader . Reader must be advanced to the starting position of the records at byte 78 .
pub(crate) fn parse<R: io::Read>(reader: &mut Reader<R>, num_records: u16) -> io::Result<PdbRecords> {
        let mut records = Vec::with_capacity(num_records as usize);
        for _ in 0..num_records {
            records.push(PdbRecord {
                offset: reader.read_u32_be()?,
                id: reader.read_u32_be()?,
            });
        }
        Ok(PdbRecords {
            records,
            extra_bytes: reader.read_u16_be()?,
        })
    }
pub ( crate ) fn parse < R : io :: Read > ( reader : & mut Reader < R > , num_records : u16 ) -> io :: Result < PdbRecords > { let mut records = Vec :: with_capacity ( num_records as usize ) ; for _ in 0 .. num_records { records . push ( PdbRecord { offset : reader . read_u32_be ( ) ? , id : reader . read_u32_be ( ) ? , } ) ; } Ok ( PdbRecords { records , extra_bytes : reader . read_u16_be ( ) ? , } ) }
Parse the records from a reader.
Parse the records from a reader .
reader
&mut Reader<R>
num_records
u16
reader
&mut Reader<R>
num_records
u16