/// Append a character to the current bit-encoding.
///
/// Complexity: O(1)
///
/// # Example
///
/// ```
/// use bio::data_structures::bitenc::BitEnc;
///
/// let mut bitenc = BitEnc::new(4);
/// bitenc.push(0b0000);
/// bitenc.push(0b1000);
/// bitenc.push(0b1010);
/// // The three characters added above are encoded into one u32 entry.
/// let values: Vec<u8> = bitenc.iter().collect();
/// assert_eq!(values, [0b0000, 0b1000, 0b1010]);
/// ```
Append a character to the current bit-encoding.
Append a character to the current bit - encoding .
pub fn push(&mut self, value: u8) {
        let (block, bit) = self.addr(self.len);
        if bit == 0 {
            self.storage.push(0);
        }
        self.set_by_addr(block, bit, value);
        self.len += 1;
    }
pub fn push ( & mut self , value : u8 ) { let ( block , bit ) = self . addr ( self . len ) ; if bit == 0 { self . storage . push ( 0 ) ; } self . set_by_addr ( block , bit , value ) ; self . len += 1 ; }
Append a character to the current bit-encoding.
Append a character to the current bit - encoding .
&mut self
value
u8
example
```
use bio::data_structures::bitenc::BitEnc.

let mut bitenc = BitEnc::new(4);
bitenc.push(0b0000);
bitenc.push(0b1000);
bitenc.push(0b1010);
The three characters added above are encoded into one u32 entry.
` ` ` use bio :: data_structures :: bitenc :: BitEnc . let mut bitenc = BitEnc :: new ( 4 ) ; bitenc . push ( 0b0000 ) ; bitenc . push ( 0b1000 ) ; bitenc . push ( 0b1010 ) ; The three characters added above are encoded into one u32 entry .