mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-26 14:21:49 +00:00
15 lines
412 B
C++
15 lines
412 B
C++
#include "StepWriteZoneContentToFile.h"
|
|
|
|
StepWriteZoneContentToFile::StepWriteZoneContentToFile(StepWriteZoneContentToMemory* zoneMemory)
|
|
: m_memory(zoneMemory)
|
|
{
|
|
}
|
|
|
|
void StepWriteZoneContentToFile::PerformStep(ZoneWriter* zoneWriter, IWritingStream* stream)
|
|
{
|
|
for (const auto& dataBuffer : m_memory->GetData()->m_buffers)
|
|
{
|
|
stream->Write(dataBuffer.m_data.get(), dataBuffer.m_size);
|
|
}
|
|
}
|