-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nrf_rpc: add function for decoding string without copying
This commit adds new helper function nrf_rpc_decode_str_ptr_and_len() that decodes CBOR string without copying it to a buffer. It allows to get string length before buffer allocation. Signed-off-by: Konrad Derda <[email protected]>
- Loading branch information
1 parent
09228a5
commit 99e4ff9
Showing
2 changed files
with
35 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