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

◆ nrf_rpc_decode_buffer_ptr_and_size()

const void * nrf_rpc_decode_buffer_ptr_and_size ( struct nrf_rpc_cbor_ctx *  ctx,
size_t *  size 
)

#include <include/nrf_rpc/nrf_rpc_serialize.h>

Decode buffer pointer and length. Moves CBOR buffer pointer past buffer on success.

Parameters
[in,out]ctxCBOR decoding context.
[out]sizeBuffer size.
Return values
Pointerto a buffer within CBOR stream or NULL on error.