Skip to content

BitField->reverse(self,val) reverses order of fields... why? #726

@Crossfire55555

Description

@Crossfire55555

Is there a bug in BitField's reverse()? I have a very unusual cookie that I am trying to make. All the fields are BitFields. Here is the test class I made for easier testing
image
First with Reverse() active
image
This give the output of the types in reverse order
image

now without reverse active
image
This is the correct output that I was expecting
image

Im using 2.3.3.dev511. I understand that reverse if for systems with a particular endianess but this seems to be resulting a bug where it doesnt reverse the string. Thought I should bring this to your attention since it took me forever to figure out what was going on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions