MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / write

Method write

include/VectorDisplay.h:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23public:
24 virtual size_t write(uint8_t c) = 0;
25 virtual size_t write(const uint8_t* s, size_t length) {
26 size_t wrote = 0;
27 while (length > 0) {
28 size_t b = write(*s++);
29 if (b <= 0)
30 break;
31 b++;
32 length--;
33 }
34 return wrote;
35 }
36
37 virtual size_t write(const char* s) {
38 return write((uint8_t*)s, strlen(s));

Callers 15

save_checksum_fileFunction · 0.45
prepare_www_filesFunction · 0.45
_writeMethod · 0.45
Write1ByteMethod · 0.45
Read8bitMethod · 0.45
Read16bitMethod · 0.45
Read24bitMethod · 0.45
Read32bitMethod · 0.45
ReadBuffMethod · 0.45
GetWarningLeveMethod · 0.45
i2cReadBytesMethod · 0.45
i2cWriteBytesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected