pydicom.filewriter.write_dataset

pydicom.filewriter.write_dataset(fp: DicomIO, dataset: Dataset, parent_encoding: str | List[str] = 'iso8859') int[source]

Write a Dataset dictionary to the file. Return the total length written.