fn trailing_data<R: ReadBytes>(stream: &mut R, start: u64, size: u32) -> io::Result<Data> {
    let done = stream.pos() - start;
    let data = if done < size as u64 {
        let len = size as usize - done as usize;
        Data::read(stream, len)?
    } else {
        Data::default()
    };
    Ok(data)
}
// Helper to read any trailing data.
Helper to read any trailing data.
Helper to read any trailing data .
fn trailing_data<R: ReadBytes>(stream: &mut R, start: u64, size: u32) -> io::Result<Data> {
    let done = stream.pos() - start;
    let data = if done < size as u64 {
        let len = size as usize - done as usize;
        Data::read(stream, len)?
    } else {
        Data::default()
    };
    Ok(data)
}
fn trailing_data < R : ReadBytes > ( stream : & mut R , start : u64 , size : u32 ) -> io :: Result < Data > { let done = stream . pos ( ) - start ; let data = if done < size as u64 { let len = size as usize - done as usize ; Data :: read ( stream , len ) ? } else { Data :: default ( ) } ; Ok ( data ) }
Helper to read any trailing data.
Helper to read any trailing data .
stream
&mut R
start
u64
size
u32
stream
&mut R
start
u64
size
u32