dicom_object::file

Function from_reader

Source
pub fn from_reader<F>(file: F) -> Result<DefaultDicomObject>
where F: Read,
Expand description

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.