mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-08 14:07:00 -06:00
29 lines
547 B
C++
Executable File
29 lines
547 B
C++
Executable File
// Archive/TarOut.h
|
|
|
|
#ifndef __ARCHIVE_TAR_OUT_H
|
|
#define __ARCHIVE_TAR_OUT_H
|
|
|
|
#include "TarItem.h"
|
|
|
|
#include "Common/MyCom.h"
|
|
#include "../../IStream.h"
|
|
|
|
namespace NArchive {
|
|
namespace NTar {
|
|
|
|
class COutArchive
|
|
{
|
|
CMyComPtr<ISequentialOutStream> m_Stream;
|
|
HRESULT WriteBytes(const void *buffer, UInt32 size);
|
|
public:
|
|
void Create(ISequentialOutStream *outStream);
|
|
HRESULT WriteHeaderReal(const CItem &item);
|
|
HRESULT WriteHeader(const CItem &item);
|
|
HRESULT FillDataResidual(UInt64 dataSize);
|
|
HRESULT WriteFinishHeader();
|
|
};
|
|
|
|
}}
|
|
|
|
#endif
|