Welcome to Python-flavored Magnum! Please note that, while already being
rather stable, this functionality is still considered experimental and
some APIs might get changed without preserving full backwards compatibility.
class
MutableBitArrayViewMutable bit array view
Equivalent to BitArrayView, but implementing __setitem__() as well.
Special methods
- def __getitem__(self, i: int) -> bool
- Bit at given position
- def __getitem__(self, slice: slice) -> object
- Slice the view
- def __init__(self, /) -> None
- Default constructor
- def __init__(self, array: BitArray) -> None
- Construct a view on a bit array
- def __len__(self, /) -> int
- Size in bits
- def __setitem__(self, i: int, value: bool) -> None
- Set a bit at given position