📄 lzhoutstreamwithcrc.cpp
字号:
// LzhOutStreamWithCRC.cpp#include "StdAfx.h"#include "LzhOutStreamWithCRC.h"namespace NArchive {namespace NLzh {STDMETHODIMP COutStreamWithCRC::Write(const void *data, UInt32 size, UInt32 *processedSize){ UInt32 realProcessedSize; HRESULT result; if(!_stream) { realProcessedSize = size; result = S_OK; } else result = _stream->Write(data, size, &realProcessedSize); _crc.Update(data, realProcessedSize); if(processedSize != NULL) *processedSize = realProcessedSize; return result;}}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -