Pixie
Loading...
Searching...
No Matches
pixie::OutputBitStream Class Reference

Public Member Functions

OutputBitStreamoperator<< (bool bit)
 Writes one bit to the stream.
 
template<std::integral T>
OutputBitStreamoperator<< (T bits)
 Writes bits of the integral number to the stream in little-endian.
 
size_t size () const
 Returns the number of written bits.
 
void reserve (size_t size)
 Reserves memory for "size" bits.
 
std::vector< uint64_t > extract ()
 Moves vector containing written bits. There must be no operator<< after extract()
 

The documentation for this class was generated from the following file: