File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ class Stream : public Print {
105
105
float parseFloat (LookaheadMode lookahead = SKIP_ALL, char ignore = NO_IGNORE_CHAR);
106
106
// float version of parseInt
107
107
108
- size_t readBytes (char *buffer, size_t length); // read chars from stream into buffer
109
- size_t readBytes (uint8_t *buffer, size_t length) {
108
+ virtual size_t readBytes (char *buffer, size_t length); // read chars from stream into buffer
109
+ virtual size_t readBytes (uint8_t *buffer, size_t length) {
110
110
return readBytes ((char *)buffer, length);
111
111
}
112
112
// terminates if length characters have been read or timeout (see setTimeout)
@@ -120,7 +120,7 @@ class Stream : public Print {
120
120
// returns the number of characters placed in the buffer (0 means no valid data found)
121
121
122
122
// Arduino String functions to be added here
123
- String readString ();
123
+ virtual String readString ();
124
124
String readStringUntil (char terminator);
125
125
126
126
protected:
You can’t perform that action at this time.
0 commit comments