FastLED 3.9.15
Loading...
Searching...
No Matches

◆ accept() [5/10]

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

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

1230 {
1231 out.push_back('[');
1232 bool first = true;
1233 for (const auto& item : audio) {
1234 if (!first) out.push_back(',');
1235 first = false;
1236 fl::string num_str;
1237 num_str.append(static_cast<int>(item));
1238 append_str(num_str);
1239 }
1240 out.push_back(']');
1241 }
string & append(const bitset_fixed< N > &bs) FL_NOEXCEPT
Definition string.h:284
fl::deque< char > & out
void append_str(const fl::string &str)

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

+ Here is the call graph for this function: