IO Base Classes (pydicom.filebase)

Basic I/O support classes.

DicomBytesIO([initial_bytes])

Wrapper for io.BytesIO to simplify encoding/decoding DICOM datasets.

DicomFile(*args, **kwargs)

Return an opened DicomFileLike from a file-like.

DicomFileLike(buffer)

Wrapper for file-likes to simplify encoding/decoding DICOM datasets.

DicomIO(buffer)

Wrapper for managing buffer-like objects used when reading or writing DICOM datasets.