pub fn read_map_len<B: ByteSlice>(buf: B) -> Result<(usize, usize), Error>