mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 08:17:01 +00:00
Add CMemoryCardDriver::InitializeFileInfo, CMemoryStreamOut
Former-commit-id: b0ce4e26f1
This commit is contained in:
17
include/Kyoto/Streams/CMemoryStreamOut.hpp
Normal file
17
include/Kyoto/Streams/CMemoryStreamOut.hpp
Normal 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
|
||||
Reference in New Issue
Block a user