pydicom.misc.size_in_bytes

pydicom.misc.size_in_bytes(expr: Optional[Union[int, float, str]]) Union[None, float, int][source]

Return the number of bytes for defer_size argument in dcmread().