FastLED 3.9.15
Loading...
Searching...
No Matches

◆ skipWhitespace()

void fl::istream_real::skipWhitespace ( )
private

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

158 {
159 while (mPos < mBufferLen &&
160 (mBuffer[mPos] == ' ' || mBuffer[mPos] == '\t' ||
161 mBuffer[mPos] == '\n' || mBuffer[mPos] == '\r')) {
162 mPos++;
163 }
164
165 // If we've consumed all buffer and there's more input, read more
166 if (mPos >= mBufferLen && fl::available() > 0) {
167 if (readLine()) {
169 }
170 }
171}
fl::size mBufferLen
Definition istream.h:26
fl::size mPos
Definition istream.h:27
char mBuffer[BUFFER_SIZE]
Definition istream.h:25
int available()

References fl::available(), 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: