fn read_nrg_cuex_track(fd: &mut File) -> Result<NrgCuexTrack, NrgError> {
    let mut track = NrgCuexTrack::new();
    track.mode = try!(read_u8(fd));
    track.track_number = try!(read_u8_bcd(fd));
    track.index_number = try!(read_u8_bcd(fd));
    track.padding = try!(read_u8(fd));
    track.position_sectors = try!(read_u32(fd)) as i32;
    Ok(track)
}
/// Reads a 8-byte track block from the NRG cue sheet.
///
/// See the documentation for read_nrg_cuex() for the format of the track
/// blocks.
Reads a 8-byte track block from the NRG cue sheet.
See the documentation for read_nrg_cuex() for the format of the track
blocks.
Reads a 8 - byte track block from the NRG cue sheet . See the documentation for read_nrg_cuex () for the format of the track blocks .
fn read_nrg_cuex_track(fd: &mut File) -> Result<NrgCuexTrack, NrgError> {
    let mut track = NrgCuexTrack::new();
    track.mode = try!(read_u8(fd));
    track.track_number = try!(read_u8_bcd(fd));
    track.index_number = try!(read_u8_bcd(fd));
    track.padding = try!(read_u8(fd));
    track.position_sectors = try!(read_u32(fd)) as i32;
    Ok(track)
}
fn read_nrg_cuex_track ( fd : & mut File ) -> Result < NrgCuexTrack , NrgError > { let mut track = NrgCuexTrack :: new ( ) ; track . mode = try ! ( read_u8 ( fd ) ) ; track . track_number = try ! ( read_u8_bcd ( fd ) ) ; track . index_number = try ! ( read_u8_bcd ( fd ) ) ; track . padding = try ! ( read_u8 ( fd ) ) ; track . position_sectors = try ! ( read_u32 ( fd ) ) as i32 ; Ok ( track ) }
Reads a 8-byte track block from the NRG cue sheet.
Reads a 8 - byte track block from the NRG cue sheet .
fd
&mut File
fd
&mut File