Struct noodles_vcf::indexed_reader::IndexedReader
source · pub struct IndexedReader<R> { /* private fields */ }
Expand description
An indexed VCF reader.
Implementations§
source§impl<R> IndexedReader<R>where
R: Read,
impl<R> IndexedReader<R>where R: Read,
sourcepub fn get_mut(&mut self) -> &mut Reader<R>
pub fn get_mut(&mut self) -> &mut Reader<R>
Returns a mutable reference to the underlying reader.
sourcepub fn into_inner(self) -> Reader<R>
pub fn into_inner(self) -> Reader<R>
Returns the underlying reader.
sourcepub fn read_header(&mut self) -> Result<String>
pub fn read_header(&mut self) -> Result<String>
Reads the raw VCF header.
sourcepub fn read_record(&mut self, buf: &mut String) -> Result<usize>
pub fn read_record(&mut self, buf: &mut String) -> Result<usize>
Reads a single raw VCF record.