solana_sdk

Module deserialize_utils

Source
Expand description

Serde helpers.

Functionsยง

  • This helper function enables successful deserialization of versioned structs; new structs may include additional fields if they impl Default and are added to the end of the struct. Right now, this function is targeted at bincode deserialization; the error match may need to be updated if another package needs to be used in the future.