fn read_nrg_daox_track(fd: &mut File) -> Result<NrgDaoxTrack, NrgError> {
    let mut track = NrgDaoxTrack::new();
    track.isrc = try!(read_sized_string(fd, 12));
    track.sector_size = try!(read_u16(fd));
    track.data_mode = try!(read_u16(fd));
    track.unknown = try!(read_u16(fd));
    track.index0 = try!(read_u64(fd));
    track.index1 = try!(read_u64(fd));
    track.track_end = try!(read_u64(fd));
    Ok(track)
}
/// Reads a 42-byte track block from the NRG DAO Information.
///
/// See the documentation for read_nrg_daox() for the format of the track
/// blocks.
Reads a 42-byte track block from the NRG DAO Information.
See the documentation for read_nrg_daox() for the format of the track
blocks.
Reads a 42 - byte track block from the NRG DAO Information . See the documentation for read_nrg_daox () for the format of the track blocks .
fn read_nrg_daox_track(fd: &mut File) -> Result<NrgDaoxTrack, NrgError> {
    let mut track = NrgDaoxTrack::new();
    track.isrc = try!(read_sized_string(fd, 12));
    track.sector_size = try!(read_u16(fd));
    track.data_mode = try!(read_u16(fd));
    track.unknown = try!(read_u16(fd));
    track.index0 = try!(read_u64(fd));
    track.index1 = try!(read_u64(fd));
    track.track_end = try!(read_u64(fd));
    Ok(track)
}
fn read_nrg_daox_track ( fd : & mut File ) -> Result < NrgDaoxTrack , NrgError > { let mut track = NrgDaoxTrack :: new ( ) ; track . isrc = try ! ( read_sized_string ( fd 12 ) ) ; track . sector_size = try ! ( read_u16 ( fd ) ) ; track . data_mode = try ! ( read_u16 ( fd ) ) ; track . unknown = try ! ( read_u16 ( fd ) ) ; track . index0 = try ! ( read_u64 ( fd ) ) ; track . index1 = try ! ( read_u64 ( fd ) ) ; track . track_end = try ! ( read_u64 ( fd ) ) ; Ok ( track ) }
Reads a 42-byte track block from the NRG DAO Information.
Reads a 42 - byte track block from the NRG DAO Information .
fd
&mut File
fd
&mut File