pydicom.values.convert_OWvalue#

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

Return the encoded ‘OW’ value as bytes.

No byte swapping will be performed.