Module solana_program::borsh
source · Expand description
Utilities for the borsh serialization format.
Structs
- Helper struct which to count how much data would be written during serialization
Functions
- Get packed length for the given BorchSchema Declaration
- Get the packed length for the serialized form of this object instance.
- Get the worst-case packed length for the given BorshSchema
- Deserializes without checking that the entire slice has been consumed