Skip to content

Adding null return for readStringUntil or equivalent for readBytesUntil #901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

Suisse00
Copy link
Contributor

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 arduino/ArduinoCore-avr#491. We should be able to know about the difference)

@CLAassistant
Copy link

CLAassistant commented Jul 24, 2022

CLA assistant check
All committers have signed the CLA.

@alranel alranel merged commit 9b54e70 into arduino:master Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants