ArduinoCore-API
ArduinoCore-API copied to clipboard
[Stream.h] make MultiTarget and findMulti public
Why MultiTarget and findMulti in Stream.h are not public members of Stream? Their implementation is by no means trivial and they seem relatively safe, so why hide this functionality from users? I found it very useful e.g. for parsing text commands coming from serial port. I'm sure there's a lot of other cases where it may help.
Any comments?
That would be pretty easy to do. @cmaglie @facchinm what do you think? Or is the reason for this API to be hidden because of it's complexity and Arduino's philosophy to keep complexity from the users?