fn read_to_end<R: Read + Seek>(reader: &mut R, _ro: &ReadOptions, _: ()) -> BinResult<Vec<u8>> {
    let mut buf = Vec::new();
    reader.read_to_end(&mut buf)?;
    Ok(buf)
}
// TODO: This could be a shared function/type in lib.rs.
This could be a shared function/type in lib.rs.
This could be a shared function / type in lib . rs .
fn read_to_end<R: Read + Seek>(reader: &mut R, _ro: &ReadOptions, _: ()) -> BinResult<Vec<u8>> {
    let mut buf = Vec::new();
    reader.read_to_end(&mut buf)?;
    Ok(buf)
}
fn read_to_end < R : Read + Seek > ( reader : & mut R , _ro : & ReadOptions , _ : ( ) ) -> BinResult < Vec < u8 > > { let mut buf = Vec :: new ( ) ; reader . read_to_end ( & mut buf ) ? ; Ok ( buf ) }
TODO: This could be a shared function/type in lib.rs.
TODO : This could be a shared function / type in lib . rs .
reader
&mut R
_ro
()
reader
&mut R
_ro
()