Skip to content

Offset Issue #19

Description

@LloydLabs

The offset doesn't seem to change when a child structure is used, e.g. from the sample code in the README this is generated:

{'name': 'field_1', 'type': uint8, 'bits': None, 'offset': 0}
{'name': 'field_2', 'type': char[5], 'bits': None, 'offset': 1}
{'name': 'field_3', 'type': char[field_1 & 1 * 5], 'bits': None, 'offset': 6}
{'name': 'field_4', 'type': Example[2], 'bits': None, 'offset': None}
{'name': 'field_lol', 'type': uint8, 'bits': None, 'offset': None}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions