Change the internal network protocol.

This commit is contained in:
Jonathan Naylor
2021-08-22 20:38:26 +01:00
parent 8e34cab68b
commit e966d355cd
4 changed files with 84 additions and 40 deletions

View File

@@ -36,7 +36,9 @@ public:
void enable(bool enabled);
bool write(const unsigned char* data);
bool writeHeader(const std::string& source, const std::string& dest, const unsigned char* data);
bool writeData(const std::string& source, const std::string& dest, const unsigned char* data);
bool read(unsigned char* data);