1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-23 08:45:22 +03:00

Add Arduino File standard seek call

This commit is contained in:
Michael Miller
2016-09-26 23:54:53 -07:00
parent 6c37fee7a1
commit b5b7169e51

View File

@ -64,6 +64,9 @@ public:
}
size_t read(uint8_t* buf, size_t size);
bool seek(uint32_t pos, SeekMode mode);
bool seek(uint32_t pos) {
return seek(pos, SeekSet);
}
size_t position() const;
size_t size() const;
void close();