67 bool isKeyEqual(
const char* keyToCheck);
73 size_t serialize(uint8_t* destination,
size_t maxSize);
75 bool setString(
const char* value);
76 bool getString(
char* value,
size_t maxSize);
79 bool setBlob(
const char* value,
size_t blobSize);
80 bool getBlob(
char* value,
size_t blobSize);
83 bool getInt8(int8_t* result);
84 bool getUInt8(uint8_t* result);
85 bool getInt32(int32_t* result);
86 bool getUInt32(uint32_t* result);
88 bool setInt8(
const int8_t value);
89 bool setUInt8(
const uint8_t value);
90 bool setInt32(
const int32_t value);
91 bool setUInt32(
const uint32_t value);
95 char key[SUPLA_STORAGE_KEY_SIZE + 1] = {};
96 enum DataType dataType = DATA_TYPE_NOT_SET;
97 unsigned int size = 0;
99 uint8_t* uint8ptr =
nullptr;