2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CZIPINPUTSTREAM
|
|
|
|
#define _CZIPINPUTSTREAM
|
2022-09-13 04:26:54 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
|
|
|
#include "rstl/auto_ptr.hpp"
|
|
|
|
|
|
|
|
class CZipInputStream : public CInputStream {
|
|
|
|
public:
|
|
|
|
CZipInputStream(rstl::auto_ptr< CInputStream > in);
|
|
|
|
~CZipInputStream() override;
|
|
|
|
uint Read(void* dest, uint len) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
u8* x24_compBuf;
|
|
|
|
rstl::auto_ptr< CInputStream > x28_stream;
|
|
|
|
unkptr x30_zstream;
|
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CZIPINPUTSTREAM
|