ArduinoCore-API icon indicating copy to clipboard operation
ArduinoCore-API copied to clipboard

[Stream.h] make MultiTarget and findMulti public

Open AlexIII opened this issue 6 years ago • 2 comments

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.

AlexIII avatar Nov 25 '19 04:11 AlexIII

Any comments?

AlexIII avatar Dec 29 '19 07:12 AlexIII

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?

aentinger avatar Nov 27 '20 08:11 aentinger