1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Adding write(str) and write(buf, size) methods to Print class and Ethernet library Client and Server classes. This allows sending a whole string or buffer at once, reducing the number of ethernet packets.

This commit is contained in:
David A. Mellis
2009-04-26 13:10:34 +00:00
parent a0b3e6334d
commit 9dd3491ab3
7 changed files with 47 additions and 7 deletions

View File

@ -18,6 +18,8 @@ public:
Client available();
void begin();
virtual void write(uint8_t);
virtual void write(const char *str);
virtual void write(const uint8_t *buf, size_t size);
};
#endif