cider101
cider101
Is there a reason, that peek() is implemented with return 0 ? a simple implementation would be return rxHead == rxTail ? -1 : rxBuffer[rxTail]; or have i overseen something...
any value above 255 will just be cut off - ``` inline size_t write(unsigned long n) { return write((uint8_t)n); } inline size_t write(long n) { return write((uint8_t)n); } inline size_t...
It would be nice, if the Stream-Interface could be changed/extended with a peek method that takes a position/offset. I often have the need to search/wait, until a certain charakter is...