SectorSource

Trait SectorSource 

Source
pub trait SectorSource {
    // Required method
    fn read_sector(&mut self, lba: i64, out: &mut [u8; 2352]);
}
Expand description

Where a disc’s sectors come from. lba is inside the disc (0 <= lba < sector_count: Disc answers zeros outside by itself); the source fills all 2352 bytes, with zeros for whatever it cannot read.

Required Methods§

Source

fn read_sector(&mut self, lba: i64, out: &mut [u8; 2352])

Implementors§