FastLED 3.10.8
Loading...
Searching...
No Matches

◆ accept() [5/10]

void fl::SerializerVisitor::accept ( const fl::vector< i16 > & audio)
inline

Definition at line 1258 of file json.cpp.hpp.

1258 {
1259 out.push_back('[');
1260 bool first = true;
1261 for (const auto& item : audio) {
1262 if (!first) out.push_back(',');
1263 first = false;
1264 fl::string num_str;
1265 num_str.append(static_cast<int>(item));
1266 append_str(num_str);
1267 }
1268 out.push_back(']');
1269 }
string & append(const bitset_fixed< N > &bs) FL_NO_EXCEPT
Definition string.h:293
fl::deque< char > & out
void append_str(const fl::string &str) FL_NO_EXCEPT

References fl::string::append(), append_str(), fl::FL_NO_EXCEPT, and out.

+ Here is the call graph for this function: