ESPHome  2022.11.5
Public Member Functions
esphome::ESPPreferenceBackend Class Referenceabstract

#include <preferences.h>

Inherited by esphome::esp32::ESP32PreferenceBackend, esphome::esp8266::ESP8266PreferenceBackend, and esphome::rp2040::RP2040PreferenceBackend.

Public Member Functions

virtual bool save (const uint8_t *data, size_t len)=0
 
virtual bool load (uint8_t *data, size_t len)=0
 

Detailed Description

Definition at line 10 of file preferences.h.

Member Function Documentation

◆ load()

virtual bool esphome::ESPPreferenceBackend::load ( uint8_t *  data,
size_t  len 
)
pure virtual

◆ save()

virtual bool esphome::ESPPreferenceBackend::save ( const uint8_t *  data,
size_t  len 
)
pure virtual

The documentation for this class was generated from the following file: