[][src]Function dicom_object::file::from_reader

pub fn from_reader<F>(file: F) -> Result<DefaultDicomObject> where
    F: Read

Create a DICOM object by reading from a byte source.

This function assumes the standard file encoding structure without the preamble: file meta group, followed by the rest of the data set.