pub fn copy_validated<R: Read, W: Write>( _reader: &mut R, _writer: &mut W, ) -> Result<u64>
Copies data from a reader to a writer with validation.
Returns an error if I/O operations fail.