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

◆ operator>>() [1/10]

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

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

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

+ Here is the call graph for this function: