pub fn init(input: R) -> Result<(Self, (u32, u64)), String> {
        let mut input = BufReader::new(input);
        let header = Self::read_header(&mut input)?;
        let iter = EdgeIter { input: input };

        Ok((iter, header))
    }
/// Construct an `EdgeIter` instance and read the header of the
/// data, returning both.
Construct an `EdgeIter` instance and read the header of the
data, returning both.
Construct an ` EdgeIter ` instance and read the header of the data returning both .
pub fn init(input: R) -> Result<(Self, (u32, u64)), String> {
        let mut input = BufReader::new(input);
        let header = Self::read_header(&mut input)?;
        let iter = EdgeIter { input: input };
        Ok((iter, header))
    }
pub fn init ( input : R ) -> Result < ( Self , ( u32 , u64 ) ) , String > { let mut input = BufReader :: new ( input ) ; let header = Self :: read_header ( & mut input ) ? ; let iter = EdgeIter { input : input } ; Ok ( ( iter , header ) ) }
Construct an `EdgeIter` instance and read the header of the
data, returning both.
Construct an ` EdgeIter ` instance and read the header of the data returning both .
input
R
input
R