pub fn decode<T>(bytes: impl AsRef<[u8]>) -> Result<T, DecodeError>where
T: BorshDeserialize,Expand description
Decode a value with borsh
pub fn decode<T>(bytes: impl AsRef<[u8]>) -> Result<T, DecodeError>where
T: BorshDeserialize,Decode a value with borsh