stream_reader_to_dcmwriter

Function stream_reader_to_dcmwriter 

Source
pub fn stream_reader_to_dcmwriter<R: Read, W: Write>(
    reader: &mut R,
    writer: &mut W,
    filename_hint: Option<&str>,
    options: &DcConversionOptions,
) -> Result<StreamConversionReceipt>
Expand description

Streams an input Read source to a framed .dcmm writer.

Bounded-memory chunked streaming is active for UTF-8 and pass-through DcMixed inputs; structured document formats currently buffer into memory for parsing.