Struct rust_htslib::bam::header::Header [] [src]

pub struct Header {
    // some fields omitted
}

A BAM header.

Methods

impl Header
[src]

fn new() -> Self

Create a new header.

fn push_record(&mut self, record: &HeaderRecord) -> &mut Self

Add a record to the header.

fn push_comment(&mut self, comment: &[u8]) -> &mut Self

Add a comment to the header.

fn to_bytes(&self) -> Vec<u8>