![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
Stores a fixed size bitset as a series of VarInts. More...
#include <serialize.h>
Public Member Functions | |
| CFixedVarIntsBitSet (std::vector< bool > &vecIn, size_t sizeIn) | |
| template<typename Stream > | |
| void | Serialize (Stream &s) const |
| template<typename Stream > | |
| void | Unserialize (Stream &s) |
Protected Attributes | |
| std::vector< bool > & | vec |
| size_t | size |
Stores a fixed size bitset as a series of VarInts.
Each VarInt is an offset from the last entry and the sum of the last entry and the offset gives an index into the bitset for a set bit. The series of VarInts ends with a 0.
Definition at line 580 of file serialize.h.
|
inline |
Definition at line 587 of file serialize.h.
|
inline |
Definition at line 590 of file serialize.h.
|
inline |
Definition at line 603 of file serialize.h.
|
protected |
Definition at line 584 of file serialize.h.
|
protected |
Definition at line 583 of file serialize.h.