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.
Make TLVReader/Writer consume slightly less flash (project-chip#36286)
* Size reductions: 80 bytes for TLV reader * Tiny reduction in code size, slight improvement on readability * Another tiny code diff and readability improvement * Size decrease for TLVWriter as well * Readability update * Restyle * Restyled by clang-format * Pay a bit of price for initialization, but this makes clang-tidy happy (I hope) * Update to make flash smaller with an odd workaround * Add back size comment * Update src/lib/core/TLVReader.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Add skip over control byte comment * Added a new comment * Restyled by whitespace --------- Co-authored-by: Andrei Litvin <[email protected]> Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information
Showing
3 changed files
with
84 additions
and
145 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
Oops, something went wrong.