1 // OutStreamWithCRC.cpp
\r
5 #include "OutStreamWithCRC.h"
\r
7 STDMETHODIMP COutStreamWithCRC::Write(const void *data, UInt32 size, UInt32 *processedSize)
\r
9 HRESULT result = S_OK;
\r
11 result = _stream->Write(data, size, &size);
\r
13 _crc = CrcUpdate(_crc, data, size);
\r
15 if (processedSize != NULL)
\r
16 *processedSize = size;
\r