pydicom.misc.size_in_bytes

pydicom.misc.size_in_bytes(expr: int | float | str | None) None | float | int[source]

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