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
In the Rive format docs it explains the following:
Following the properties is a bit array which is composed of the read property count / 4 bytes. Every property gets 2 bits to define which backing type deserializer can be used to read past it.
However as per the Cpp impl and from what I could tell from actually decoding the RIV files; for every 4 properties a whole u32 appears to be allocated - which the explanation doesn't mention. Should be updated for clarity for anyone trying to work with the format.
In the Rive format docs it explains the following:
Following the properties is a bit array which is composed of the read property count / 4 bytes. Every property gets 2 bits to define which backing type deserializer can be used to read past it.
However as per the Cpp impl and from what I could tell from actually decoding the RIV files; for every 4 properties a whole u32 appears to be allocated - which the explanation doesn't mention. Should be updated for clarity for anyone trying to work with the format.
https://help.rive.app/runtimes/advanced_topics/format
The text was updated successfully, but these errors were encountered: