Add CMemoryCardDriver::InitializeFileInfo, CMemoryStreamOut

Former-commit-id: b0ce4e26f1
This commit is contained in:
Henrique Gemignani Passos Lima
2022-10-11 16:41:20 +03:00
parent df01c5f965
commit c97527ba03
8 changed files with 141 additions and 25 deletions

View File

@@ -0,0 +1,17 @@
#ifndef _CMEMORYSTREAMOUT
#define _CMEMORYSTREAMOUT
#include "Kyoto/Streams/COutputStream.hpp"
class CMemoryStreamOut : public COutputStream {
public:
enum EOwnerShip {
kOS_Owned,
kOS_NotOwned,
};
CMemoryStreamOut(uchar* buffer, size_t len, EOwnerShip ownerShip = kOS_NotOwned, int blockLen = 4096);
virtual ~CMemoryStreamOut();
};
#endif // _CMEMORYSTREAMOUT