1 parent 606446a commit 119ece2Copy full SHA for 119ece2
cores/esp32/Stream.h
@@ -97,8 +97,8 @@ class Stream: public Print
97
98
floatparseFloat(); // float version of parseInt
99
100
-size_treadBytes(char *buffer, size_t length); // read chars from stream into buffer
101
-size_treadBytes(uint8_t *buffer, size_t length)
+virtualsize_treadBytes(char *buffer, size_t length); // read chars from stream into buffer
+virtualsize_treadBytes(uint8_t *buffer, size_t length)
102
{
103
returnreadBytes((char *) buffer, length);
104
}
@@ -114,7 +114,7 @@ class Stream: public Print
114
// returns the number of characters placed in the buffer (0 means no valid data found)
115
116
// Arduino String functions to be added here
117
- String readString();
+virtualString readString();
118
String readStringUntil(char terminator);
119
120
protected:
0 commit comments