MCPcopy Create free account
hub / github.com/dejwk/roo_display / write

Method write

src/roo_display/ui/string_printer.h:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 const std::string get() && { return std::move(s_); }
26
27 size_t write(uint8_t c) override {
28 s_.append((const char*)(&c));
29 return 1;
30 }
31
32 size_t write(const uint8_t* buffer, size_t size) override {
33 s_.append((const char*)buffer, size);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected