pub fn write_utd<W: Write>(writer: &mut W, utd: &Utd) -> Result<(), UtdError>
Writes typed UTD data to an output writer.