Functions§

  • 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.
  • Serialize object into a vector of bytes and prefix with the schema serialized as vector of bytes in Borsh format.