pub unsafe extern "C" fn coap_block_slicer_init(
slicer: *mut coap_block_slicer_t,
blknum: size_t,
blksize: size_t,
)
Expand description
@brief Initialize a block slicer struct from content information
@param[out] slicer slicer struct to initialize @param[in] blknum offset from the beginning of content, in terms of @p blksize byte blocks @param[in] blksize size of each block; must be a power of 2 between 16 and 2 raised to #CONFIG_NANOCOAP_BLOCK_SIZE_EXP_MAX