Expand description
Utilities for the borsh serialization format.
To avoid backwards-incompatibilities when the Solana SDK changes its dependency
on borsh, it’s recommended to instead use the version-specific file directly,
ie. v0_10
.
This file remains for developers who use these borsh helpers, but it will be removed in a future release
Functions§
- get_
instance_ packed_ len Deprecated - Get the packed length for the serialized form of this object instance.
- get_
packed_ len Deprecated - Get the worst-case packed length for the given BorshSchema
- try_
from_ slice_ unchecked Deprecated - Deserializes without checking that the entire slice has been consumed