dicom_core::value::serialize

Function encode_datetime

Source
pub fn encode_datetime<W>(to: W, dt: DicomDateTime) -> Result<usize>
where W: Write,
Expand description

Encode a single date-time value in accordance to the DICOM DateTime (DT) value representation.