deltakit.core.decoding_graphs.Bitstring#
- class deltakit.core.decoding_graphs.Bitstring(value: int = 0)#
Bases:
objectClass which efficiently represents a bitstring.
Methods#
Get the number of 1s in this bitstring. |
|
Create a bitstring from a list of bits. |
|
Create a bitstring from a collection of bytes. |
|
Create a bitstring from a list of non-zero indices. |
|
Create a list of indices of the non-zero elements in this bitstring |
|
Convert the bitstring into words of a given length. |