Function postcard::from_io

source ·
pub fn from_io<'a, T, R>(
    val: (R, &'a mut [u8])
) -> Result<(T, (R, &'a mut [u8]))>where
    T: Deserialize<'a>,
    R: Read + 'a,
Expand description

Deserialize a message of type T from astd::io::Read.