Module borsh

Module borsh 

Source
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. borsh0_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
Get the packed length for the serialized form of this object instance.
get_packed_len
Get the worst-case packed length for the given BorshSchema
try_from_slice_unchecked
Deserializes without checking that the entire slice has been consumed