Device: Reference Structures class within Device class

This commit is contained in:
rlaphoenix 2022-07-21 15:49:17 +01:00
parent 3d6ddb8dcd
commit a729648a34
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class _Types(Enum):
ANDROID = 2 ANDROID = 2
class Structures: class _Structures:
v2 = Struct( v2 = Struct(
"signature" / Const(b"WVD"), "signature" / Const(b"WVD"),
"version" / Const(Int8ub, 2), "version" / Const(Int8ub, 2),
@ -63,7 +63,7 @@ class Structures:
class Device: class Device:
Types = _Types Types = _Types
Structures = _Structures
supported_structure = Structures.v2 supported_structure = Structures.v2
# == Bin Format Revisions == # # == Bin Format Revisions == #