Struct noodles_csi::Reader[][src]

pub struct Reader<R> { /* fields omitted */ }
Expand description

A CSI reader.

Implementations

Creates a CSI reader.

Examples

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.

Examples

use noodles_csi as csi;
let mut reader = File::open("sample.bcf.csi").map(csi::Reader::new)?;
let index = reader.read_index();

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.