pub fn new(inner: W, reference_sequences: Vec<fasta::Record>) -> Self {
        Self {
            inner,
            reference_sequences,
            data_container_builder: DataContainer::builder(RECORD_COUNTER_START),
            record_counter: RECORD_COUNTER_START,
        }
    }
/// Creates a new CRAM writer.
///
/// # Examples
///
/// ```
/// use noodles_cram as cram;
/// let writer = cram::Writer::new(Vec::new(), Vec::new());
/// ```
Creates a new CRAM writer.
Creates a new CRAM writer .
pub fn new(inner: W, reference_sequences: Vec<fasta::Record>) -> Self {
        Self {
            inner,
            reference_sequences,
            data_container_builder: DataContainer::builder(RECORD_COUNTER_START),
            record_counter: RECORD_COUNTER_START,
        }
    }
pub fn new ( inner : W , reference_sequences : Vec < fasta :: Record > ) -> Self { Self { inner , reference_sequences , data_container_builder : DataContainer :: builder ( RECORD_COUNTER_START ) , record_counter : RECORD_COUNTER_START , } }
Creates a new CRAM writer.
Creates a new CRAM writer .
inner
W
reference_sequences
Vec<fasta::Record>
inner
W
reference_sequences
Vec<fasta::Record>
examples
```
use noodles_cram as cram;
let writer = cram::Writer::new(Vec::new(), Vec::new());
```
` ` ` use noodles_cram as cram ; let writer = cram :: Writer :: new ( Vec :: new () Vec :: new () ) ; ` ` `