This commit is contained in:
parent
c854200a3d
commit
8c333ada57
|
@ -33,7 +33,6 @@ class BinaryReader:
|
||||||
if len(bts) != num_bytes:
|
if len(bts) != num_bytes:
|
||||||
raise Exception("Could not read {read} (0x{read:02X}) bytes: Buffer only contained {size} (0x{size:02X}) bytes".format(read=num_bytes, size=len(bts)))
|
raise Exception("Could not read {read} (0x{read:02X}) bytes: Buffer only contained {size} (0x{size:02X}) bytes".format(read=num_bytes, size=len(bts)))
|
||||||
assert len(bts) == num_bytes
|
assert len(bts) == num_bytes
|
||||||
print(' ', bts)
|
|
||||||
return bts
|
return bts
|
||||||
|
|
||||||
def readDynamicBytes(self, size_reader = None) -> bytes:
|
def readDynamicBytes(self, size_reader = None) -> bytes:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user