These two commits are bug fixes so that dicoms with non-standard magic cookie offsets are read correctly. In particular, these should now enable reading of dicom instances from dicom-web sources e.g Orthanc with dicom-web plugin, to be parsed correctly since dicom-web responses are multi-part mime messages and having a large offset for the marker allows for the mime header to be skipped correctly
These two commits are bug fixes so that dicoms with non-standard magic cookie offsets are read correctly. In particular, these should now enable reading of dicom instances from dicom-web sources e.g Orthanc with dicom-web plugin, to be parsed correctly since dicom-web responses are multi-part mime messages and having a large offset for the marker allows for the mime header to be skipped correctly