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

◆ accept() [6/10]

void fl::SerializerVisitor::accept ( const fl::vector< u8 > & bytes)
inline

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

1271 {
1272 out.push_back('[');
1273 bool first = true;
1274 for (const auto& item : bytes) {
1275 if (!first) out.push_back(',');
1276 first = false;
1277 fl::string num_str;
1278 num_str.append(static_cast<int>(item));
1279 append_str(num_str);
1280 }
1281 out.push_back(']');
1282 }
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: