Function anjay_ret_u64
Defined in File io.h
Function Documentation
-
int anjay_ret_u64(anjay_output_ctx_t *ctx, uint64_t value)
Returns a 64-bit unsigned integer from the data model handler.
Note: the only difference between
anjay_ret_u32andanjay_ret_u64is the size of thevalueparameter. Actual number of bytes sent on the wire depends on thevalue.- Parameters:
ctx – Output context to operate on.
value – The value to return.
- Returns:
0 on success, a negative value in case of error.