Struct qrcodegen::BitBuffer [−][src]
An appendable sequence of bits (0s and 1s).
Mainly used by QrSegment.
Methods
impl BitBuffer
[src]
impl BitBuffer
pub fn append_bits(&mut self, val: u32, len: u8)
[src]
pub fn append_bits(&mut self, val: u32, len: u8)
Appends the given number of low-order bits of the given value to this buffer.
Requires len ≤ 31 and val < 2len.