mirror of https://github.com/PrimeDecomp/prime.git
19 lines
368 B
C++
19 lines
368 B
C++
#ifndef _CMEMORYINSTREAM_HPP
|
|
#define _CMEMORYINSTREAM_HPP
|
|
|
|
#include "CInputStream.hpp"
|
|
|
|
class CMemoryInStream : public CInputStream {
|
|
public:
|
|
enum EOwnerShip {
|
|
NotOwned,
|
|
Owned,
|
|
};
|
|
|
|
CMemoryInStream(const void* ptr, unsigned long len);
|
|
CMemoryInStream(const void* ptr, unsigned long len, EOwnerShip ownership);
|
|
virtual ~CMemoryInStream() {}
|
|
};
|
|
|
|
#endif
|