Skip to content
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

Make TLVReader getter const for ByteSpan and CharSpan #28169

Merged
merged 5 commits into from
Jul 24, 2023

Conversation

andy31415
Copy link
Contributor

@andy31415 andy31415 commented Jul 21, 2023

This builds on #28167 to make ByteSpan and CharSpan getters const for TLVReader.
This makes Next() for string values auto-execute EnsureData so that byte buffers are automatically available to getters.

@mergify
Copy link

mergify bot commented Jul 21, 2023

⚠️ The sha of the head commit of this PR conflicts with #28167. Mergify cannot evaluate rules on this PR. ⚠️

src/lib/core/TLVReader.cpp Show resolved Hide resolved
@mergify mergify bot merged commit 0e0fd72 into project-chip:master Jul 24, 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.

5 participants