You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One potential fix is to generate a packed struct instead of an enum and read it like you would any other scalar field. The packed struct looks like this:
For the following FBS:
The following enum is generated:
Which causes the
@intToEnum
cast to fail if multiple bit flags (or none) are set:One potential fix is to generate a packed struct instead of an enum and read it like you would any other scalar field. The packed struct looks like this:
The text was updated successfully, but these errors were encountered: