cdcEngineDXHR/cdcFile/FileUserBufferReceiver.cpp

23 lines
464 B
C++
Raw Normal View History

#include <cstring>
#include "FileUserBufferReceiver.h"
namespace cdc {
void FileUserBufferReceiver::process(FileRequest*, void *input, uint32_t size, uint32_t offset) {
memcpy((char*)buffer + offset, input, size);
}
2023-01-31 22:15:57 +00:00
void FileUserBufferReceiver::requestStarted(FileRequest*, uint32_t size) {
// empty
}
void FileUserBufferReceiver::requestFailed(FileRequest*) {
delete this;
}
void FileUserBufferReceiver::requestComplete(FileRequest*) {
delete this;
}
}