arduino / arduino/ArduinoCore-API

[Stream.h] make MultiTarget and findMulti public

未关闭
#105 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
306
派生
150
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 Stream.h 开始,定位 MultiTarget 和 findMulti 的声明与实现,然后检查当前如何定义它们的可见性。完成的标准是两个成员都可以公开访问,同时不改变其现有行为;检查周围的 Stream API 和可用测试以确保兼容性。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
api, embedded-iot
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。