stream_dcmreader_to_writer

Function stream_dcmreader_to_writer 

Source
pub fn stream_dcmreader_to_writer<R: Read, W: Write>(
    reader: &mut R,
    writer: &mut W,
    format: SupportedDcOutputFormat,
    options: &DcExportOptions,
) -> Result<StreamExportReceipt>
Expand description

Streams a .dcmm source Read to a writer in the specified SupportedDcOutputFormat.

Bounded-memory pass-through streaming is active for DcMixed output; other target formats currently buffer the .dcmm payload in memory to serialize the output.