validate_and_copy_dcmm_stream

Function validate_and_copy_dcmm_stream 

Source
pub fn validate_and_copy_dcmm_stream<R: Read, W: Write>(
    reader: &mut R,
    writer: &mut W,
) -> Result<u64>
Expand description

Validates the 21-byte DcMM header from reader, then streams the verified .dcmm stream to writer with strict validation. Returns the total bytes written.