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

◆ nrf_rpc_decode_buffer()

void * nrf_rpc_decode_buffer ( struct nrf_rpc_cbor_ctx *  ctx,
void *  buffer,
size_t  buffer_size 
)

#include <include/nrf_rpc/nrf_rpc_serialize.h>

Decode a buffer.

Parameters
[in,out]ctxCBOR decoding context.
[out]bufferBuffer for a decoded buffer data.
[in]buffer_sizeBuffer size.
Return values
Pointerto a decoded buffer.