|
FastLED 3.9.15
|
| int fl::sprintf | ( | char(&) | buffer[N], |
| const char * | format, | ||
| const Args &... | args ) |
Sprintf-like formatting function that writes to a buffer.
| buffer | Output buffer to write formatted string to |
| format | Format string with placeholders like "%d", "%s", "%f" etc. |
| args | Arguments to format |
This function writes a formatted string to the provided buffer. The buffer size is deduced at compile time from the array reference, providing automatic safety against buffer overflows.
Example usage:
Definition at line 468 of file printf.h.
References args, and snprintf().
Here is the call graph for this function: