Function anjay_get_u32

Function Documentation

int anjay_get_u32(anjay_input_ctx_t *ctx, uint32_t *out)

Reads an unsigned integer as a 32-bit unsigned value from the request content.

Parameters:
  • ctx – Input context to operate on.

  • out[out] Returned value. If the call is not successful, it is guaranteed to be left untouched.

Returns:

0 on success, a negative value in case of error.