Function decode

Source
pub fn decode<T>(bytes: impl AsRef<[u8]>) -> Result<T, DecodeError>
Expand description

Decode a value with borsh