Field¶
-
class
pystructs.fields.
Field
(size: int)[source]¶ Abstract class for parsing bytes by calculating offset and size variable
-
initialize
(root: Field)[source]¶ process to initialize, eg. link_fields, set bytes of root field, etc…
Parameters: root (Field) – root field
-
is_root
¶ bool value about this field is root
Type: bool
-
offset
¶ offset of this
Type: int
-
size
¶ size of this
Type: int
-