fn calculate_encoded_size_inner( ty: &DataType, null_tag_none: u8, null_tag_some: u8, deserializer: &mut Deserializer<impl Buf>, ) -> Result<usize>