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
I've run into a situation recently when I needed to manually deserialize a slice of account data into a type that I have in my IDL, but which is not an account type. Here's like my Rust part looks like:
@kklas thanks for pointing out, this is great. That said, I also believe anchor will benefit from exposing this functionality directly as it already has largely implemented internally, just not exposed publicly.
I've run into a situation recently when I needed to manually deserialize a slice of account data into a type that I have in my IDL, but which is not an account type. Here's like my Rust part looks like:
On the client I would like to use something like this:
Looking at the codebase it seems like a trivial thing to add and I'm happy to submit a PR if you think it makes sense.
The text was updated successfully, but these errors were encountered: