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'm just wondering if you could point me in the right direction, on how to use non-standard
datatypes, such as those which are specific to Rust, such as bigints, via RPC.
Would I need to represent the data as say an array of bytes, then use
Rusts transmute feature to convert to a bigint somehow, or is there a better way?
cheers
Chris
The text was updated successfully, but these errors were encountered:
Using the Cap'n Proto Data type sounds sensible to me. However, I would shy away from using transmute(). It looks like BigInt has functions like from_bytes_le() that would be better suited for that purpose.
Hi,
I'm just wondering if you could point me in the right direction, on how to use non-standard
datatypes, such as those which are specific to Rust, such as bigints, via RPC.
Would I need to represent the data as say an array of bytes, then use
Rusts transmute feature to convert to a bigint somehow, or is there a better way?
cheers
Chris
The text was updated successfully, but these errors were encountered: