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
Right now there's only encodePacked but no companion function to do decode.
As far as I understand the problem with decoding is that you can't do it if there are two or more types and that some times you have to start decoding from the end of the binary string.
I think that this challenge can be overcomed by throwing errors when type definition contains two dynamic types.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Right now there's only encodePacked but no companion function to do decode.
As far as I understand the problem with decoding is that you can't do it if there are two or more types and that some times you have to start decoding from the end of the binary string.
I think that this challenge can be overcomed by throwing errors when type definition contains two dynamic types.
Beta Was this translation helpful? Give feedback.
All reactions