pydicom.values.convert_OWvalue

pydicom.values.convert_OWvalue(byte_string, is_little_endian, struct_format=None)

Return the encoded ‘OW’ value as bytes or str.

No byte swapping will be performed.