Function gclient::ext::sp_runtime::codec::decode_from_bytes

pub fn decode_from_bytes<T>(bytes: Bytes) -> Result<T, Error>
where T: Decode,
Expand description

Decodes a given T from Bytes.