nRF Connect SDK API 0.1.0
|
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.
[in,out] | ctx | CBOR decoding context. |
[out] | size | Buffer size. |
Pointer | to a buffer within CBOR stream or NULL on error. |