pydicom.values.convert_UN

pydicom.values.convert_UN(byte_string: bytes, is_little_endian: bool, struct_format: Optional[str] = None) bytes[source]

Return the encoded ‘UN’ value as bytes.