/// Create a new iterator with the given random access source,
/// while considering the given transfer syntax and specific character set.
Create a new iterator with the given random access source,
while considering the given transfer syntax and specific character set.
Create a new iterator with the given random access source while considering the given transfer syntax and specific character set .
pub fn new_with(
        source: &'s mut dyn ReadSeek,
        ts: &TransferSyntax,
        cs: SpecificCharacterSet,
    ) -> Result<Self> {
        let parser = DicomParser::new_with(ts, cs)?;
        Ok(LazyDataSetReader {
            source,
            parser,
            depth: 0,
            in_sequence: false,
            hard_break: false,
            phantom: PhantomData,
        })
    }
pub fn new_with ( source : & ' s mut dyn ReadSeek , ts : & TransferSyntax , cs : SpecificCharacterSet , ) -> Result < Self > { let parser = DicomParser :: new_with ( ts , cs ) ? ; Ok ( LazyDataSetReader { source , parser , depth : 0 , in_sequence : false , hard_break : false , phantom : PhantomData , } ) }
Create a new iterator with the given random access source,
while considering the given transfer syntax and specific character set.
Create a new iterator with the given random access source while considering the given transfer syntax and specific character set .
source
&'s mut dyn ReadSeek
ts
&TransferSyntax
cs
SpecificCharacterSet