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
As seen in this forum topic, the encoder for Vector expects a regular array and will throw an error when being used with uInt8Array.
This requires the user to manually transform the uInt8Array into a common array.
One thing that we can do when trying to encode Vector of bytes or any similar type that will also applied to this, is to validate if it's a UInt8Array and then transform it to regular Array. But we need to validate this approach first.
Motivation
As seen in this forum topic, the encoder for Vector expects a regular array and will throw an error when being used with uInt8Array.
This requires the user to manually transform the uInt8Array into a common array.
Usage example
Possible implementations
IDK, but it would be here
The text was updated successfully, but these errors were encountered: