Struct range_encoding::opus::Writer [−][src]
pub struct Writer<W> where
W: Write, { /* fields omitted */ }Methods
impl<W> Writer<W> where
W: Write, [src]
impl<W> Writer<W> where
W: Write, pub fn new(out: W) -> Self[src]
pub fn new(out: W) -> Selfpub fn symbol(
&mut self,
index: usize,
icdf: &mut CumulativeDistributionFrequency
) -> Result<AlreadyEncountered, Error>[src]
pub fn symbol(
&mut self,
index: usize,
icdf: &mut CumulativeDistributionFrequency
) -> Result<AlreadyEncountered, Error>Encode the next symbol in line.
pub fn done(self) -> Result<W, Error>[src]
pub fn done(self) -> Result<W, Error>