pub fn encode_row_with_template( tmpl: &RowTemplate, values: &[Value], buf: &mut Vec<u8>, ) -> Result<()>