[][src]Function dicom_object::file::open_file

pub fn open_file<P>(path: P) -> Result<DefaultDicomObject> where
    P: AsRef<Path>, 

Create a DICOM object by reading from a file.

This function assumes the standard file encoding structure: 128-byte preamble, file meta group, and the rest of the data set.