|
FabGL2 2.0.0
ESP32 Display Controller and Graphics Library for ESP-IDF
|
Abstract byte stream with Arduino-like read and print methods. More...
#include <fabutils.h>

Public Member Functions | |
| size_t | readBytes (uint8_t *buffer, size_t length) |
| Reads up to length bytes, waiting until all bytes have been received or the timeout expires. | |
| void | setTimeout (int timeOutMS) |
| Sets the timeout used by readBytes(). | |
Abstract byte stream with Arduino-like read and print methods.
Implemented by fabgl::Terminal and fabgl::UARTStream. Besides the methods of fabgl::Print (write(), print(), println(), printf()), a Stream provides available(), read(), peek() and readBytes().
Definition at line 441 of file fabutils.h.