Play-/Source/MemoryStateFile.cpp
2013-04-25 05:51:31 +00:00

20 lines
331 B
C++

#include "MemoryStateFile.h"
CMemoryStateFile::CMemoryStateFile(const char* name, const void* memory, size_t size)
: CZipFile(name)
, m_memory(memory)
, m_size(size)
{
}
CMemoryStateFile::~CMemoryStateFile()
{
}
void CMemoryStateFile::Write(Framework::CStream& stream)
{
stream.Write(m_memory, m_size);
}