reference-en icon indicating copy to clipboard operation
reference-en copied to clipboard

Adding null return for readStringUntil or equivalent for readBytesUntil

Open Suisse00 opened this issue 2 years ago • 1 comments

The documentation doesn't talk about what is returned when readStringUntil can't find the terminator, so I added it.

I added clarification that if read*Until don't find ther terminator all read characters are discarded.

Also I documented that if a terminator is found (but without previous data) the code manage it has if there is no terminator. (About that, I created https://github.com/arduino/ArduinoCore-avr/issues/491. We should be able to know about the difference)

Suisse00 avatar Jul 24 '22 17:07 Suisse00

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 24 '22 17:07 CLAassistant