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

◆ operator>>() [1/10]

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

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

211 {
213
214 if (mPos >= mBufferLen && fl::available() > 0) {
215 if (!readLine()) {
216 mFailed = true;
217 return *this;
218 }
220 }
221
222 if (mPos < mBufferLen) {
223 c = mBuffer[mPos];
224 mPos++;
225 } else {
226 mFailed = true;
227 }
228 return *this;
229}
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 istream_real(), fl::available(), mBuffer, mBufferLen, mFailed, mPos, readLine(), and skipWhitespace().

+ Here is the call graph for this function: