pydicom.values.convert_UI¶
- pydicom.values.convert_UI(byte_string: bytes, is_little_endian: bool, struct_format: str | None = None) UID | MutableSequence[UID] [source]¶
Return a decoded ‘UI’ value.
Elements with VR of ‘UI’ may have a non-significant trailing null
0x00
.- Parameters:
- Returns:
The decoded ‘UI’ element value without trailing nulls or spaces.
- Return type: