Files
Simple-Protocol-Lib/include/sp/io/IoInterface.h
Persson-dev 0d26879152
All checks were successful
Linux arm64 / Build (push) Successful in 16s
feat: add streams
2025-06-26 19:17:52 +02:00

14 lines
221 B
C++

#pragma once
#include <sp/common/DataBuffer.h>
namespace sp {
class IoInterface {
public:
virtual DataBuffer Read(std::size_t a_Amount) = 0;
virtual void Write(const DataBuffer& a_Data) = 0;
};
} // namespace sp