File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 3535readBytesBetween( pre_string, terminator, buffer, length)
3636*/
3737
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.
3841enum 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.
4245};
4346
4447class Stream : public Print
Original file line number Diff line number Diff line change 3535readBytesBetween( pre_string, terminator, buffer, length)
3636*/
3737
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.
3841enum 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.
4245};
4346
4447class Stream : public Print
You can’t perform that action at this time.
0 commit comments