pub fn modules(&self) -> Result<ModuleIter<'_>> {
        let mut buf = self.stream.parse_buffer();
        // drop the header
        buf.take(self.header_len)?;
        let modules_buf = buf.take(self.header.module_list_size as usize)?;
        Ok(ModuleIter {
            buf: modules_buf.into(),
        })
    }
/// Returns an iterator that can traverse the modules list in sequential order.
Returns an iterator that can traverse the modules list in sequential order.
Returns an iterator that can traverse the modules list in sequential order .
pub fn modules(&self) -> Result<ModuleIter<'_>> {
        let mut buf = self.stream.parse_buffer();
        // drop the header
        buf.take(self.header_len)?;
        let modules_buf = buf.take(self.header.module_list_size as usize)?;
        Ok(ModuleIter {
            buf: modules_buf.into(),
        })
    }
pub fn modules ( & self ) -> Result < ModuleIter < ' _ > > { let mut buf = self . stream . parse_buffer ( ) ; // drop the header buf . take ( self . header_len ) ? ; let modules_buf = buf . take ( self . header . module_list_size as usize ) ? ; Ok ( ModuleIter { buf : modules_buf . into ( ) , } ) }
Returns an iterator that can traverse the modules list in sequential order.
Returns an iterator that can traverse the modules list in sequential order .
&self