Function parity_scale_codec::decode_from_bytes
source · pub fn decode_from_bytes<T>(bytes: Bytes) -> Result<T, Error>where
T: Decode,
Expand description
Decodes a given T
from Bytes
.
pub fn decode_from_bytes<T>(bytes: Bytes) -> Result<T, Error>where
T: Decode,
Decodes a given T
from Bytes
.