Relative Content

Tag Archive for c++arduino-esp32

Is it possible to replace a single line in a file on LittleFS with ESP32?

I’m using an ESP32 and the File System LittleFS to make a file. Sometimes, like in the title, I need to replace a single line in the file but i don’t want to copy the entire file. Is it possible? How can I do it?
To make problem easier, all lines can be of the same length. Also the new line.