FastLED 3.10.10
Loading...
Searching...
No Matches

◆ accept() [5/10]

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

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

1365 {
1366 out.push_back('[');
1367 bool first = true;
1368 for (const auto& item : audio) {
1369 if (!first) out.push_back(',');
1370 first = false;
1372 num_str.append(static_cast<int>(item));
1374 }
1375 out.push_back(']');
1376 }
void append_str(const fl::string &str) FL_NO_EXCEPT
void append(const char *str) FL_NO_EXCEPT

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

+ Here is the call graph for this function: