if ((next = cpack_align_and_reserve(cs, sizeof(*u))) == NULL)
return -1;
- *u = EXTRACT_LE_U_8(next);
+ *u = GET_LE_U_8(next);
/* Move pointer past the uint64_t. */
cs->c_next = next + sizeof(*u);
if ((next = cpack_align_and_reserve(cs, sizeof(*u))) == NULL)
return -1;
- *u = EXTRACT_LE_S_8(next);
+ *u = GET_LE_S_8(next);
/* Move pointer past the int64_t. */
cs->c_next = next + sizeof(*u);
if ((next = cpack_align_and_reserve(cs, sizeof(*u))) == NULL)
return -1;
- *u = EXTRACT_LE_U_4(next);
+ *u = GET_LE_U_4(next);
/* Move pointer past the uint32_t. */
cs->c_next = next + sizeof(*u);
if ((next = cpack_align_and_reserve(cs, sizeof(*u))) == NULL)
return -1;
- *u = EXTRACT_LE_S_4(next);
+ *u = GET_LE_S_4(next);
/* Move pointer past the int32_t. */
cs->c_next = next + sizeof(*u);
if ((next = cpack_align_and_reserve(cs, sizeof(*u))) == NULL)
return -1;
- *u = EXTRACT_LE_U_2(next);
+ *u = GET_LE_U_2(next);
/* Move pointer past the uint16_t. */
cs->c_next = next + sizeof(*u);
if ((next = cpack_align_and_reserve(cs, sizeof(*u))) == NULL)
return -1;
- *u = EXTRACT_LE_S_2(next);
+ *u = GET_LE_S_2(next);
/* Move pointer past the int16_t. */
cs->c_next = next + sizeof(*u);
if ((size_t)(cs->c_next - cs->c_buf) >= cs->c_len)
return -1;
- *u = EXTRACT_U_1(cs->c_next);
+ *u = GET_U_1(cs->c_next);
/* Move pointer past the uint8_t. */
cs->c_next++;
if ((size_t)(cs->c_next - cs->c_buf) >= cs->c_len)
return -1;
- *u = EXTRACT_S_1(cs->c_next);
+ *u = GET_S_1(cs->c_next);
/* Move pointer past the int8_t. */
cs->c_next++;