dicom_core::value::deserialize

Function parse_time_partial

Source
pub fn parse_time_partial(buf: &[u8]) -> Result<(DicomTime, &[u8]), Error>
Expand description

Decode a single DICOM Time (TM) into a DicomTime value. Unlike parse_time, this method allows for missing Time components. The precision of the second fraction is stored and can be returned as a range later.