FastLED 3.10.8
Loading...
Searching...
No Matches

◆ skipWhitespace()

void fl::istream_real::skipWhitespace ( )
private

Definition at line 160 of file istream.cpp.hpp.

160 {
161 while (mPos < mBufferLen &&
162 (mBuffer[mPos] == ' ' || mBuffer[mPos] == '\t' ||
163 mBuffer[mPos] == '\n' || mBuffer[mPos] == '\r')) {
164 mPos++;
165 }
166
167 // If we've consumed all buffer and there's more input, read more
168 if (mPos >= mBufferLen && fl::available() > 0) {
169 if (readLine()) {
171 }
172 }
173}
fl::size mBufferLen
Definition istream.h:32
fl::size mPos
Definition istream.h:33
char mBuffer[BUFFER_SIZE]
Definition istream.h:31
void skipWhitespace() FL_NO_EXCEPT
bool readLine() FL_NO_EXCEPT
int available() FL_NO_EXCEPT

References fl::available(), fl::FL_NO_EXCEPT, mBuffer, mBufferLen, mPos, readLine(), and skipWhitespace().

Referenced by operator>>(), readToken(), and skipWhitespace().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: