fn read_elf64_lazy_as_vec(&self) -> Result<Vec<u8>> {
        let size = self.metadata()?.size;
        let mut buf = vec![0; size];
        let elf64_hdr_size = 64;
        self.read_at(0, &mut buf.as_mut_slice()[..elf64_hdr_size])?;
        Ok(buf)
    }
/// Read elf64 file in to a vector lazily (by only reading the elf header)
Read elf64 file in to a vector lazily (by only reading the elf header)
Read elf64 file in to a vector lazily ( by only reading the elf header )
fn read_elf64_lazy_as_vec(&self) -> Result<Vec<u8>> {
        let size = self.metadata()?.size;
        let mut buf = vec![0; size];
        let elf64_hdr_size = 64;
        self.read_at(0, &mut buf.as_mut_slice()[..elf64_hdr_size])?;
        Ok(buf)
    }
fn read_elf64_lazy_as_vec ( & self ) -> Result < Vec < u8 > > { let size = self . metadata ( ) ? . size ; let mut buf = vec ! [ 0 size ] ; let elf64_hdr_size = 64 ; self . read_at ( 0 , & mut buf . as_mut_slice ( ) [ .. elf64_hdr_size ] ) ? ; Ok ( buf ) }
Read elf64 file in to a vector lazily (by only reading the elf header)
Read elf64 file in to a vector lazily ( by only reading the elf header )
&self
&self