pub fn from_reader_with_buffer<T: DeserializeOwned, R: Read>(
reader: R,
buffer: &mut Vec<u8>,
) -> Result<T>Expand description
Decodes from reader using caller-owned reusable input storage.
buffer is cleared before and after the call while retaining its capacity.