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 @@ -97,8 +97,8 @@ class Stream: public Print
97
97
98
98
float parseFloat (); // float version of parseInt
99
99
100
- size_t readBytes (char *buffer, size_t length); // read chars from stream into buffer
101
- size_t readBytes (uint8_t *buffer, size_t length)
100
+ virtual size_t readBytes (char *buffer, size_t length); // read chars from stream into buffer
101
+ virtual size_t readBytes (uint8_t *buffer, size_t length)
102
102
{
103
103
return readBytes ((char *) buffer, length);
104
104
}
@@ -114,7 +114,7 @@ class Stream: public Print
114
114
// returns the number of characters placed in the buffer (0 means no valid data found)
115
115
116
116
// Arduino String functions to be added here
117
- String readString ();
117
+ virtual String readString ();
118
118
String readStringUntil (char terminator);
119
119
120
120
protected:
You can’t perform that action at this time.
0 commit comments