pub fn read_size_encoding<R: Read>(stream: &mut R) -> Result<usize>
Read the type and size of the object