forked from jan/fatamorgana
fix read_u32
This commit is contained in:
parent
06de10062d
commit
e9cf010f54
@ -2065,7 +2065,7 @@ def read_u32(stream: io.BufferedIOBase) -> int:
|
||||
The integer that was read.
|
||||
"""
|
||||
b = _read(stream, 4)
|
||||
return struct.unpack('<I', b)
|
||||
return struct.unpack('<I', b)[0]
|
||||
|
||||
|
||||
def write_u32(stream: io.BufferedIOBase, n: int) -> int:
|
||||
|
Loading…
Reference in New Issue
Block a user