forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add checkout and rollback API in IM message builder (project-chip#5564)
Problem: Need checkpoint API to get the previous IM TLV buffer state, when writen data is oversized, need rollback API to get last good IM TLV buffer State. Summary of Changes: -- Add Checkpoint API to Checkpoint the current tlv state into a TLVWriter -- Add Rollback the request state into the checkpointed TLVWriter -- Add unit test Note: this is one sliced PR from PR 4800
- Loading branch information
1 parent
dd6468e
commit 1a94b9e
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters