int32_pack() function
Pack a signed 32-bit integer and return the number of bytes written, passed as unsigned to avoid implementation-specific behavior. Negative numbers are encoded as two's complement 64-bit integers.
Syntax
static inline size_t
int32_pack(uint32_t value,
uint8_t *out);
Return value
Number of bytes written to `out`.