28#ifdef ARDUINO_ARCH_ESP32
30 #define uEspConfigLibFSSpiffs_writeCasted(data) _dataFile.write((uint8_t *) data, strlen(data))
32 #define uEspConfigLibFSSpiffs_writeCasted(data) _dataFile.write(data, strlen(data))
80 bool write(
const char *);
The deffinitive ESP32 and ESP8266 configuration Arduino library, uEspConfigLib - FileSystem interface...
Definition: uEspConfigLibFSInterface.h:50
The deffinitive ESP32 and ESP8266 configuration Arduino library, uEspConfigLib - SPIFFS FileSystem in...
Definition: uEspConfigLibFSSpiffs.h:35
uEspConfigLibFSSpiffs(const bool=false)
Constructor.
Definition: uEspConfigLibFSSpiffs.cpp:30
bool openToWrite()
Opens the file for write.
Definition: uEspConfigLibFSSpiffs.cpp:97
bool closeFile()
Closes current file.
Definition: uEspConfigLibFSSpiffs.cpp:155
bool openToRead()
Opens the file for read.
Definition: uEspConfigLibFSSpiffs.cpp:71
bool write(const char *)
Writes content to current file.
Definition: uEspConfigLibFSSpiffs.cpp:143
bool readLine(String *)
Reads a whole line from current file.
Definition: uEspConfigLibFSSpiffs.cpp:124