File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 35
35
readBytesBetween( pre_string, terminator, buffer, length)
36
36
*/
37
37
38
+ // This enumeration provides the lookahead options for parseInt(), parseFloat()
39
+ // The rules set out here are used until either the first valid character is found
40
+ // or a time out occurs due to lack of input.
38
41
enum StreamParseOpt{
39
- SKIP_ALL,
40
- SKIP_NONE,
41
- SKIP_WHITESPACE
42
+ SKIP_ALL, // All invalid characters are ignored.
43
+ SKIP_NONE, // Nothing is skipped, and the stream is not touched unless the first waiting character is valid.
44
+ SKIP_WHITESPACE // Only tabs, spaces, line feeds & carriage returns are skipped.
42
45
};
43
46
44
47
class Stream : public Print
Original file line number Diff line number Diff line change 35
35
readBytesBetween( pre_string, terminator, buffer, length)
36
36
*/
37
37
38
+ // This enumeration provides the lookahead options for parseInt(), parseFloat()
39
+ // The rules set out here are used until either the first valid character is found
40
+ // or a time out occurs due to lack of input.
38
41
enum StreamParseOpt{
39
- SKIP_ALL,
40
- SKIP_NONE,
41
- SKIP_WHITESPACE
42
+ SKIP_ALL, // All invalid characters are ignored.
43
+ SKIP_NONE, // Nothing is skipped, and the stream is not touched unless the first waiting character is valid.
44
+ SKIP_WHITESPACE // Only tabs, spaces, line feeds & carriage returns are skipped.
42
45
};
43
46
44
47
class Stream : public Print
You can’t perform that action at this time.
0 commit comments