pub fn write_utw_to_vec(utw: &Utw) -> Result<Vec<u8>, UtwError>
Serializes typed UTW data into a byte vector.