1370b324cSopenharmony_ci// 7zSpecStream.cpp
2370b324cSopenharmony_ci
3370b324cSopenharmony_ci#include "StdAfx.h"
4370b324cSopenharmony_ci
5370b324cSopenharmony_ci#include "7zSpecStream.h"
6370b324cSopenharmony_ci
7370b324cSopenharmony_ci/*
8370b324cSopenharmony_ciZ7_COM7F_IMF(CSequentialInStreamSizeCount2::Read(void *data, UInt32 size, UInt32 *processedSize))
9370b324cSopenharmony_ci{
10370b324cSopenharmony_ci  UInt32 realProcessedSize;
11370b324cSopenharmony_ci  const HRESULT result = _stream->Read(data, size, &realProcessedSize);
12370b324cSopenharmony_ci  _size += realProcessedSize;
13370b324cSopenharmony_ci  if (processedSize)
14370b324cSopenharmony_ci    *processedSize = realProcessedSize;
15370b324cSopenharmony_ci  return result;
16370b324cSopenharmony_ci}
17370b324cSopenharmony_ci
18370b324cSopenharmony_ciZ7_COM7F_IMF(CSequentialInStreamSizeCount2::GetSubStreamSize(UInt64 subStream, UInt64 *value))
19370b324cSopenharmony_ci{
20370b324cSopenharmony_ci  if (!_getSubStreamSize)
21370b324cSopenharmony_ci    return E_NOTIMPL;
22370b324cSopenharmony_ci  return _getSubStreamSize->GetSubStreamSize(subStream, value);
23370b324cSopenharmony_ci}
24370b324cSopenharmony_ci
25370b324cSopenharmony_ciZ7_COM7F_IMF(CSequentialInStreamSizeCount2::GetNextInSubStream(UInt64 *streamIndexRes, ISequentialInStream **stream))
26370b324cSopenharmony_ci{
27370b324cSopenharmony_ci  if (!_compressGetSubStreamSize)
28370b324cSopenharmony_ci    return E_NOTIMPL;
29370b324cSopenharmony_ci  return _compressGetSubStreamSize->GetNextInSubStream(streamIndexRes, stream);
30370b324cSopenharmony_ci}
31370b324cSopenharmony_ci*/
32