Match and link all remaining stream classes

Former-commit-id: 55617d2753
This commit is contained in:
2022-10-12 23:09:15 -07:00
parent 08804f22b8
commit 0613bb5ea4
32 changed files with 75 additions and 91 deletions

View File

@@ -6,17 +6,20 @@
#include "Kyoto/Streams/CInputStream.hpp"
#include "rstl/auto_ptr.hpp"
#include "rstl/single_ptr.hpp"
#include "zlib/zlib.h"
class CZipInputStream : public CInputStream {
public:
CZipInputStream(rstl::auto_ptr< CInputStream > in);
~CZipInputStream() override;
uint Read(void* dest, uint len) override;
size_t Read(void* dest, size_t len) override;
private:
uchar* x24_compBuf;
rstl::auto_ptr< CInputStream > x28_stream;
unkptr x30_zstream;
rstl::single_ptr<uchar> mCompBuf;
rstl::auto_ptr< CInputStream > mStream;
rstl::single_ptr<z_stream_s> mZStream;
};
#endif // _CZIPINPUTSTREAM