pub struct Reader<R> { /* fields omitted */ }
Expand description
Creates a CSI reader.
use noodles_csi as csi;
let reader = File::open("sample.bcf.csi").map(csi::Reader::new)?;
Reads a CSI index.
The position of the stream is expected to be at the beginning.
use noodles_csi as csi;
let mut reader = File::open("sample.bcf.csi").map(csi::Reader::new)?;
let index = reader.read_index();
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.