избавился от string в приеме веб сокетов

This commit is contained in:
Dmitry Borisenko
2022-01-25 22:17:55 +01:00
parent 3353194e2f
commit 553bc4e00d
3 changed files with 68 additions and 64 deletions

View File

@@ -2,6 +2,7 @@
#include "EspFileSystem.h"
#include "Global.h"
extern void writeFileUint8(const String& filename, uint8_t*& payload, size_t length, size_t headerLenth);
extern File seekFile(const String& filename, size_t position = 0);
extern const String writeFile(const String& filename, const String& str);
extern const String readFile(const String& filename, size_t max_size);