MCPcopy Create free account
hub / github.com/FastLED/FastLED / read

Method read

tests/fl/stl/istream.cpp:245–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243 }
244
245 int read() {
246 if (mPos < mData.size()) {
247 return static_cast<int>(static_cast<unsigned char>(mData[mPos++]));
248 }
249 return -1;
250 }
251
252 void reset() {
253 mPos = 0;

Callers 4

FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected