FastLED 3.10.6
Loading...
Searching...
No Matches

◆ value() [3/4]

void fl::JsonStreamWriter::value ( fl::i64 n)

Definition at line 170 of file json_stream_writer.cpp.hpp.

170 {
171 if (mSuppressedDepth > 0) {
172 return;
173 }
175 char buf[24];
176 int len = fl::itoa64(n, buf, 10);
177 for (int i = 0; i < len; ++i) {
178 writeChar(buf[i]);
179 }
180}
void writeChar(char c) FL_NO_EXCEPT
void prefixForValue() FL_NO_EXCEPT
int itoa64(i64 value, char *sp, int radix)
Convert signed 64-bit integer to string buffer in given radix.

References fl::FL_NO_EXCEPT, fl::itoa64(), mSuppressedDepth, prefixForValue(), and writeChar().

+ Here is the call graph for this function: