Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ available
Method
available
tests/fl/stl/istream.cpp:241–243 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
239
InputMocker(const char* input_data) : mData(input_data), mPos(0) {}
240
241
int available() {
242
return (mPos < mData.size()) ? (mData.size() - mPos) : 0;
243
}
244
245
int read() {
246
if (mPos < mData.size()) {
Callers
2
FL_TEST_FILE
Function · 0.45
FL_TEST_FILE
Function · 0.45
Calls
1
size
Method · 0.45
Tested by
no test coverage detected