pub fn end_transmission<W: io::Write>(&mut self, writer: &mut W) -> io::Result<()> {
        let (bits, bit_size) = self.eof;
        self.write_bits(bits, bit_size, writer)?;
        // this won't write anything if self.shift is 0, avoiding writing the last bytes twice
        write_u128_trimmed(writer, self.scratch, self.shift)
    }
/// Write the end of the transmission, flushing out the remaining bits, and writing
/// the EOF symbol
Write the end of the transmission, flushing out the remaining bits, and writing
the EOF symbol
Write the end of the transmission flushing out the remaining bits and writing the EOF symbol
pub fn end_transmission<W: io::Write>(&mut self, writer: &mut W) -> io::Result<()> {
        let (bits, bit_size) = self.eof;
        self.write_bits(bits, bit_size, writer)?;
        // this won't write anything if self.shift is 0, avoiding writing the last bytes twice
        write_u128_trimmed(writer, self.scratch, self.shift)
    }
pub fn end_transmission < W : io :: Write > ( & mut self , writer : & mut W ) -> io :: Result < ( ) > { let ( bits , bit_size ) = self . eof ; self . write_bits ( bits , bit_size , writer ) ? ; // this won't write anything if self.shift is 0, avoiding writing the last bytes twice write_u128_trimmed ( writer , self . scratch , self . shift ) }
Write the end of the transmission, flushing out the remaining bits, and writing
the EOF symbol
Write the end of the transmission flushing out the remaining bits and writing the EOF symbol
&mut self
writer
&mut W
&mut self
writer
&mut W