fix read_u32
This commit is contained in:
parent
06de10062d
commit
e9cf010f54
1 changed files with 1 additions and 1 deletions
|
|
@ -2065,7 +2065,7 @@ def read_u32(stream: io.BufferedIOBase) -> int:
|
||||||
The integer that was read.
|
The integer that was read.
|
||||||
"""
|
"""
|
||||||
b = _read(stream, 4)
|
b = _read(stream, 4)
|
||||||
return struct.unpack('<I', b)
|
return struct.unpack('<I', b)[0]
|
||||||
|
|
||||||
|
|
||||||
def write_u32(stream: io.BufferedIOBase, n: int) -> int:
|
def write_u32(stream: io.BufferedIOBase, n: int) -> int:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue