![]() |
NDEVR
API Documentation
|
An appendable sequence of bits (0s and 1s), mainly used by QrSegment. More...
Public Member Functions | |
| QRBitBuffer () | |
| Constructs an empty bit buffer. | |
| void | appendBits (uint04 val, uint04 len) |
| Appends the given number of low-order bits of the given value to this buffer. | |
| Public Member Functions inherited from Buffer< bool > | |
| constexpr | Buffer () noexcept |
| Creates an empty buffer. | |
| ~Buffer () | |
| void | add (bool &&object) |
| Adds object to the end of the buffer. | |
| void | addSpace (t_index_type space_to_add) |
| Adds a space to the end of the buffer. | |
| operator decltype | auto () const |
| Gets the first location of type* in the array. | |
| sint04 | compare (const Buffer &value) const |
| Compares this Buffer to another to determine their relative ordering. | |
| Buffer< t_other_type, t_other_memory_manager > | getAs () const |
| Gets a copy of this buffer, with filled objects t_other_type, where all objects are created using the contents of this buffer. | |
| void | insert (t_index_type location, const bool &object) |
| Adds an object to a specific location. | |
| void | removeAllOrdered (const bool &object) |
| Removes all instances of the object. | |
| void | removeAllOrderedFn (const t_functor &functor) |
| Removes all items based on the functor. | |
| void | removeAllUnordered (const bool &object) |
| Removes all unordered described by object. | |
An appendable sequence of bits (0s and 1s), mainly used by QrSegment.
Appends the given number of low-order bits of the given value to this buffer.
Requires 0 <= len <= 31 and val < 2^len.
| [in] | val | The value whose low-order bits to append. |
| [in] | len | The number of low-order bits to append from val. |