Sesame-Device/include/interface/ESP32StorageSource.h

17 lines
479 B
C
Raw Normal View History

2023-12-13 13:21:29 +01:00
#include "relay/interface/StorageSource.h"
2024-02-10 11:31:10 +01:00
class ESP32StorageSource: public StorageSource {
2023-12-13 13:21:29 +01:00
bool writeByteAtIndex(uint8_t byte, uint16_t index) override;
bool canProvideStorageWithSize(uint16_t size) override;
bool commitData();
uint8_t readByteAtIndex(uint16_t index) override;
uint16_t readBytes(uint16_t startIndex, uint16_t count, uint8_t* output) override;
uint16_t writeBytes(uint8_t* bytes, uint16_t count, uint16_t startIndex) override;
};