MCPcopy Create free account
hub / github.com/SpacehuhnTech/WiFiDuck / streamOpen

Function streamOpen

esp_duck/spiffs.cpp:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 void streamOpen(String fileName) {
152 streamClose();
153 streamFile = open(fileName);
154 if (!streamFile) debugln("ERROR: No stream file open");
155 }
156
157 void streamWrite(const char* buf, size_t len) {
158 if (streamFile) streamFile.write((uint8_t*)buf, len);

Callers 1

beginFunction · 0.85

Calls 2

streamCloseFunction · 0.85
openFunction · 0.85

Tested by

no test coverage detected