nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_rpc_decode_str_ptr_and_len()

const void * nrf_rpc_decode_str_ptr_and_len ( struct nrf_rpc_cbor_ctx * ctx,
size_t * len )

#include <include/nrf_rpc/nrf_rpc_serialize.h>

Decode a string pointer and length. Moves CBOR pointer past string on success.

Parameters
[in,out]ctxCBOR decoding context.
[out]lenString length.
Return values
Pointerto a string within CBOR stream or NULL on error.