FastLED 3.10.6
Loading...
Searching...
No Matches

◆ operator>>() [1/10]

istream_real & fl::istream_real::operator>> ( char & c)

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

212 {
214
215 if (mPos >= mBufferLen && fl::available() > 0) {
216 if (!readLine()) {
217 mFailed = true;
218 return *this;
219 }
221 }
222
223 if (mPos < mBufferLen) {
224 c = mBuffer[mPos];
225 mPos++;
226 } else {
227 mFailed = true;
228 }
229 return *this;
230}
fl::size mBufferLen
Definition istream.h:27
fl::size mPos
Definition istream.h:28
char mBuffer[BUFFER_SIZE]
Definition istream.h:26
int available()

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

+ Here is the call graph for this function: