mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 08:07:12 -06:00
3.13
This commit is contained in:
28
7zip/Archive/GZip/GZipOut.h
Executable file
28
7zip/Archive/GZip/GZipOut.h
Executable file
@@ -0,0 +1,28 @@
|
||||
// Archive/GZipOut.h
|
||||
|
||||
#pragma once
|
||||
|
||||
#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<IOutStream> m_Stream;
|
||||
HRESULT WriteBytes(const void *buffer, UINT32 size);
|
||||
public:
|
||||
void Create(IOutStream *outStream) { m_Stream = outStream; }
|
||||
HRESULT WriteHeader(const CItem &item);
|
||||
HRESULT WritePostInfo(UINT32 crc, UINT32 anUnpackSize);
|
||||
};
|
||||
|
||||
}}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user