15 lines
278 B
C++
15 lines
278 B
C++
#pragma once
|
|
|
|
#include <sp/common/DataBuffer.h>
|
|
#include <sp/common/NonCopyable.h>
|
|
|
|
namespace sp {
|
|
|
|
class IoInterface : private NonCopyable {
|
|
public:
|
|
virtual DataBuffer Read(std::size_t a_Amount) = 0;
|
|
virtual void Write(const DataBuffer& a_Data) = 0;
|
|
};
|
|
|
|
} // namespace sp
|