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

◆ skipWhitespace()

void fl::istream_real::skipWhitespace ( )
private

Definition at line 158 of file istream.cpp.

158 {
159 while (pos_ < buffer_len_ &&
160 (buffer_[pos_] == ' ' || buffer_[pos_] == '\t' ||
161 buffer_[pos_] == '\n' || buffer_[pos_] == '\r')) {
162 pos_++;
163 }
164
165 // If we've consumed all buffer and there's more input, read more
166 if (pos_ >= buffer_len_ && fl::available() > 0) {
167 if (readLine()) {
169 }
170 }
171}
void skipWhitespace()
Definition istream.cpp:158
fl::size buffer_len_
Definition istream.h:31
char buffer_[BUFFER_SIZE]
Definition istream.h:30
fl::size pos_
Definition istream.h:32
int available()
Definition io.cpp:117

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