Add support for reading uchar aka uint8_t

This commit is contained in:
Sybren A. Stüvel
2024-01-08 17:08:13 +01:00
parent ced4af98a3
commit 15f00e6c92
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -255,6 +255,7 @@ class Struct:
)
simple_readers = {
b"uchar": endian.read_char,
b"int": endian.read_int,
b"short": endian.read_short,
b"uint64_t": endian.read_ulong,