pydicom.values.convert_UN

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

Return the encoded ‘UN’ value as bytes.