Function imageflow::imageflow_json_response_read [] [src]

#[no_mangle]
pub unsafe extern fn imageflow_json_response_read(context: *mut Context,
                                                  response_in: *const JsonResponse,
                                                  status_code_out: *mut i64,
                                                  buffer_utf8_no_nulls_out: *mut *const u8,
                                                  buffer_size_out: *mut size_t)
                                                  -> bool

Writes fields from the given imageflow_json_response to the locations referenced. The buffer pointer sent out will be a UTF-8 byte array of the given length (not null-terminated). It will also become invalid if the JsonResponse associated is freed, or if the context is destroyed.