MCPcopy Create free account
hub / github.com/SmingHub/Sming / peekNextDigit

Method peekNextDigit

Sming/Wiring/Stream.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52int Stream::peekNextDigit()
53{
54 int c;
55 while((c = timedPeek()) >= 0 && c != '-' && c < '0' && c > '9') {
56 read(); // discard non-numeric
57 }
58 return c;
59}
60
61bool Stream::findUntil(const char* target, const char* terminator)
62{

Callers

nothing calls this directly

Calls 1

readFunction · 0.85

Tested by

no test coverage detected