[][src]Type Definition dicom_parser::parser::DynamicDicomParser

type DynamicDicomParser = DicomParser<Box<dyn Decode<Source = dyn Read>>, BasicDecoder, dyn Read, DynamicTextCodec>;

Alias for a dynamically resolved DICOM parser. Although the data source may be known in compile time, the required decoder may vary according to an object's transfer syntax.

Methods

impl DynamicDicomParser[src]

pub fn new_with(ts: &TransferSyntax, cs: SpecificCharacterSet) -> Result<Self>[src]

Create a new DICOM parser for the given transfer syntax and character set.