[Stream.h] make MultiTarget and findMulti public

Open
#105 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
38/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
cpp
Domain
api, embedded-iot

Research direction

Start in Stream.h by locating the declarations and implementations of MultiTarget and findMulti, then inspect how their visibility is currently defined. Done means both members are publicly accessible without changing their existing behavior; check the surrounding Stream API and available tests for compatibility.

Written by the indexing model from the issue text.

Description

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.

Dominant language
C++
Stars
306
Forks
150
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from arduino/ArduinoCore-API

All issues in arduino/ArduinoCore-API

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.