Skip to content

Commit 1d8144a

Browse files
committed
EndianBinaryReader - add read_bytes num typehint
1 parent 49d8463 commit 1d8144a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎UnityPy/streams/EndianBinaryReader.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def read_byte(self) -> int:
9696
def read_u_byte(self) -> int:
9797
return unpack(self.endian + "B", self.read(1))[0]
9898

99-
def read_bytes(self, num) -> builtins.bytes:
99+
def read_bytes(self, num: int) -> builtins.bytes:
100100
return self.read(num)
101101

102102
def read_short(self) -> int:

0 commit comments

Comments
 (0)