We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8969860 + df5c17a commit c1da221Copy full SHA for c1da221
1 file changed
binary_utils/binary_stream.py
@@ -33,8 +33,8 @@
33
34
class binary_stream:
35
def __init__(self, data: bytes = b"", pos: int = 0) -> None:
36
- self.data = data
37
- self.pos = pos
+ self.data: bytes = data
+ self.pos: int = pos
38
39
def read(self, size: int) -> bytes:
40
self.pos += size
0 commit comments