pub fn write_values(w: &mut dyn Write, values: &[Value]) -> Result<()>
Writes the values to the writer.