We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7deaae1 commit 026d133Copy full SHA for 026d133
pyais/bit_vector.py
@@ -26,6 +26,7 @@ class bit_vector:
26
__slots__ = ("_value", "_length")
27
28
def __init__(self, data: bytes, pad: int = 0) -> None:
29
+ # Convert bytes into single large integer
30
value = 0
31
for byte in data:
32
value = (value << 6) | _PAYLOAD_ARMOR[byte]
0 commit comments