|
|
@ -31,7 +31,7 @@ class PersistentStore {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
static bool access_start();
|
|
|
|
static bool access_start();
|
|
|
|
static bool access_finish();
|
|
|
|
static bool access_finish();
|
|
|
|
static bool write_data(int &pos, const uint8_t *value, const size_t size, uint16_t *crc);
|
|
|
|
static bool write_data(int &pos, const uint8_t *value, size_t size, uint16_t *crc);
|
|
|
|
static bool read_data(int &pos, uint8_t* value, size_t size, uint16_t *crc, const bool writing=true);
|
|
|
|
static bool read_data(int &pos, uint8_t* value, size_t size, uint16_t *crc, const bool writing=true);
|
|
|
|
static size_t capacity();
|
|
|
|
static size_t capacity();
|
|
|
|
|
|
|
|
|
|
|
|