#include "stdafx.h" #include "NativeStream.h" void BufferStream::Write(const void* data, size_t size) { if (data == nullptr || size == 0) { return; } const char* p = static_cast(data); m_buffer.append(p, size); } void BufferStream::Complete() { // 缓冲已完整,无需额外操作 }