Function decode

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

Decodes a value from bytes using default configuration