rem: snprintf(buf, sizeof(buf), "%u", val); packet_append(packet, buf);
add: if (!packet->data->len) string_appendf(packet->data, "%lu", val); else string_appendf(packet->data, " %lu", val);
context: void opn_packet_put_uint32(OpnPacket *packet, uint32_t val){	char buf[16];		assert(packet);	snprintf(buf, sizeof(buf), "%u", val);	packet_append(packet, buf);}