Skip to content

Commit

Permalink
Add __u8, __u16, __u32 and __u64 convenience types
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamper committed Nov 20, 2023
1 parent e9ba968 commit e46e504
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dissect/cstruct/cstruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ def __init__(self, endian: str = "<", pointer: Optional[str] = None):
"u4": "uint32",
"u8": "uint64",
"u16": "uint128",
"__u8": "uint8",
"__u16": "uint16",
"__u32": "uint32",
"__u64": "uint64",
"uchar": "uint8",
"ushort": "unsigned short",
"uint": "unsigned int",
Expand Down

0 comments on commit e46e504

Please sign in to comment.