Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ writeNulIfRoom
Function
writeNulIfRoom
src/fl/wdt/watchdog.cpp.hpp:61–64 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
}
60
61
inline fl::size writeNulIfRoom(fl::span<char> out, fl::size written) FL_NOEXCEPT {
62
if (written < out.size()) out[written] =
'\0'
;
63
return written;
64
}
65
66
} // namespace platforms
67
Callers
1
describe
Method · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected