mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-13 12:11:38 -06:00
4.44 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
804edc5756
commit
d9666cf046
29
CPP/7zip/Archive/GZip/GZipOut.h
Executable file
29
CPP/7zip/Archive/GZip/GZipOut.h
Executable file
@@ -0,0 +1,29 @@
|
||||
// Archive/GZipOut.h
|
||||
|
||||
#ifndef __ARCHIVE_GZIP_OUT_H
|
||||
#define __ARCHIVE_GZIP_OUT_H
|
||||
|
||||
#include "Common/MyCom.h"
|
||||
#include "GZipHeader.h"
|
||||
#include "GZipItem.h"
|
||||
#include "../../IStream.h"
|
||||
|
||||
namespace NArchive {
|
||||
namespace NGZip {
|
||||
|
||||
class COutArchive
|
||||
{
|
||||
CMyComPtr<ISequentialOutStream> m_Stream;
|
||||
HRESULT WriteBytes(const void *buffer, UInt32 size);
|
||||
HRESULT WriteByte(Byte value);
|
||||
HRESULT WriteUInt16(UInt16 value);
|
||||
HRESULT WriteUInt32(UInt32 value);
|
||||
public:
|
||||
void Create(ISequentialOutStream *outStream) { m_Stream = outStream; }
|
||||
HRESULT WriteHeader(const CItem &item);
|
||||
HRESULT WritePostHeader(const CItem &item);
|
||||
};
|
||||
|
||||
}}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user