diff options
Diffstat (limited to '7zip/Archive/Common/InStreamWithCRC.cpp')
-rwxr-xr-x | 7zip/Archive/Common/InStreamWithCRC.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/7zip/Archive/Common/InStreamWithCRC.cpp b/7zip/Archive/Common/InStreamWithCRC.cpp index e1b98383..86151b9d 100755 --- a/7zip/Archive/Common/InStreamWithCRC.cpp +++ b/7zip/Archive/Common/InStreamWithCRC.cpp @@ -16,18 +16,6 @@ STDMETHODIMP CSequentialInStreamWithCRC::Read(void *data, return result; } -STDMETHODIMP CSequentialInStreamWithCRC::ReadPart(void *data, - UInt32 size, UInt32 *processedSize) -{ - UInt32 realProcessedSize; - HRESULT result = _stream->ReadPart(data, size, &realProcessedSize); - _size += realProcessedSize; - _crc.Update(data, realProcessedSize); - if(processedSize != NULL) - *processedSize = realProcessedSize; - return result; -} - STDMETHODIMP CInStreamWithCRC::Read(void *data, UInt32 size, UInt32 *processedSize) { @@ -40,18 +28,6 @@ STDMETHODIMP CInStreamWithCRC::Read(void *data, return result; } -STDMETHODIMP CInStreamWithCRC::ReadPart(void *data, - UInt32 size, UInt32 *processedSize) -{ - UInt32 realProcessedSize; - HRESULT result = _stream->ReadPart(data, size, &realProcessedSize); - _size += realProcessedSize; - _crc.Update(data, realProcessedSize); - if(processedSize != NULL) - *processedSize = realProcessedSize; - return result; -} - STDMETHODIMP CInStreamWithCRC::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) { |