pub fn from_reader_with_max_len<'a, T: Deserialize<'a>>(
reader: impl Read + 'a,
max_len: usize,
) -> Result<T>
Expand description
Deserializes T
from reader
reading at most n bytes.
pub fn from_reader_with_max_len<'a, T: Deserialize<'a>>(
reader: impl Read + 'a,
max_len: usize,
) -> Result<T>
Deserializes T
from reader
reading at most n bytes.