pub fn write_data_values(values: &[DataValue], buf: &mut Vec<u8>) -> Result<()>
Write a list of data values to a buffer, with the 0xFF terminator.