Files
Simple-Protocol-Lib/include/sp/io/IoInterface.h
Persson-dev ed0b06f78d
All checks were successful
Linux arm64 / Build (push) Successful in 19s
finish io
2025-06-27 18:53:03 +02:00

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