FastLED 3.10.9
Loading...
Searching...
No Matches

◆ value() [4/5]

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

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

171 {
172 if (mSuppressedDepth > 0) {
173 return;
174 }
176 char buf[24];
177 int len = fl::itoa64(n, buf, 10);
178 for (int i = 0; i < len; ++i) {
179 writeChar(buf[i]);
180 }
181}
void writeChar(char c) FL_NO_EXCEPT
void prefixForValue() FL_NO_EXCEPT
int itoa64(i64 value, char *sp, int radix) FL_NO_EXCEPT
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: