This commit is contained in:
Igor Pavlov
2003-12-11 00:00:00 +00:00
committed by Kornel Lesiński
commit 8c1b5c7b7e
982 changed files with 118799 additions and 0 deletions

32
7zip/Archive/Tar/TarIn.h Executable file
View File

@@ -0,0 +1,32 @@
// Archive/TarIn.h
#pragma once
#ifndef __ARCHIVE_TAR_IN_H
#define __ARCHIVE_TAR_IN_H
#include "Common/MyCom.h"
#include "../../IStream.h"
#include "TarItem.h"
namespace NArchive {
namespace NTar {
class CInArchive
{
CMyComPtr<IInStream> m_Stream;
UINT64 m_Position;
HRESULT ReadBytes(void *data, UINT32 size, UINT32 &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);
};
}}
#endif