File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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
9797
9898 float parseFloat (); // float version of parseInt
9999
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)
102102 {
103103 return readBytes ((char *) buffer, length);
104104 }
@@ -114,7 +114,7 @@ class Stream: public Print
114114 // returns the number of characters placed in the buffer (0 means no valid data found)
115115
116116 // Arduino String functions to be added here
117- String readString ();
117+ virtual String readString ();
118118 String readStringUntil (char terminator);
119119
120120protected:
You can’t perform that action at this time.
0 commit comments