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

Method print

src/fl/system/serial.cpp.hpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48size_t SerialPort::print(const char* str) {
49 if (!str) {
50 return 0;
51 }
52
53 fl::print(str);
54 return fl::strlen(str);
55}
56
57size_t SerialPort::print(int value) {
58 char buffer[12]; // Enough for "-2147483648" + null

Callers

nothing calls this directly

Calls 5

strlenFunction · 0.85
itoaFunction · 0.85
itoa64Function · 0.85
utoa64Function · 0.85
printFunction · 0.50

Tested by

no test coverage detected