MCPcopy 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
61inline 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

describeMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected