diff options
Diffstat (limited to 'CPP/7zip/Archive/Tar/TarIn.h')
-rwxr-xr-x | CPP/7zip/Archive/Tar/TarIn.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/CPP/7zip/Archive/Tar/TarIn.h b/CPP/7zip/Archive/Tar/TarIn.h index 20c030ef..cc6e3f5b 100755 --- a/CPP/7zip/Archive/Tar/TarIn.h +++ b/CPP/7zip/Archive/Tar/TarIn.h @@ -11,20 +11,8 @@ namespace NArchive { namespace NTar { -class CInArchive -{ - CMyComPtr<IInStream> m_Stream; - UInt64 m_Position; - - HRESULT ReadBytes(void *data, size_t size, size_t &processedSize); -public: - HRESULT Open(IInStream *inStream); - HRESULT GetNextItemReal(bool &filled, CItemEx &itemInfo); - HRESULT GetNextItem(bool &filled, CItemEx &itemInfo); - HRESULT Skeep(UInt64 numBytes); - HRESULT SkeepDataRecords(UInt64 dataSize); -}; - +HRESULT ReadItem(ISequentialInStream *stream, bool &filled, CItemEx &itemInfo); + }} #endif |