Module borsh::schema_helpers [−][src]
Functions
try_from_slice_with_schema | Deserialize this instance from a slice of bytes, but assume that at the beginning we have bytes describing the schema of the type. We deserialize this schema and verify that it is correct. |
try_to_vec_with_schema | Serialize object into a vector of bytes and prefix with the schema serialized as vector of bytes in Borsh format. |