Struct bit_io::Writer [−][src]
pub struct Writer<W> { /* fields omitted */ }
Methods
impl<W> Writer<W> where
W: Write,
[src]
impl<W> Writer<W> where
W: Write,
pub fn new(writer: W) -> Self
[src]
pub fn new(writer: W) -> Self
pub fn with_capacity(capacity: usize, writer: W) -> Self
[src]
pub fn with_capacity(capacity: usize, writer: W) -> Self
pub fn write_bit(&mut self, bit: bool) -> Result<()>
[src]
pub fn write_bit(&mut self, bit: bool) -> Result<()>
pub fn write_bits(&mut self, bits: u8, count: usize) -> Result<()>
[src]
pub fn write_bits(&mut self, bits: u8, count: usize) -> Result<()>
pub fn flush(&mut self) -> Result<()>
[src]
pub fn flush(&mut self) -> Result<()>
pub fn finish(self) -> Result<W>
[src]
pub fn finish(self) -> Result<W>