Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deserialize ¶
Deserialize `data` according to the schema of `s`, and store the value into it. `s` must be a pointer type variable that points to the original schema of `data`.
func Serialize ¶
Serialize `s` into bytes according to Bincode's specification
https://docs.rs/crate/bincode/2.0.1/source/docs/spec.md
The type mapping is similar to that borsh-go, which can be found at https://github.com/near/borsh-go.
Types ¶
Click to show internal directories.
Click to hide internal directories.