pub fn write_uti_to_vec(uti: &Uti) -> Result<Vec<u8>, UtiError>
Serializes typed UTI data into a byte vector.