fixed64_pack() function
Pack a 64-bit quantity in little-endian byte order. Used for protobuf wire types fixed64, sfixed64, double. Similar to "htole64". \todo The big-endian impl is really only good for 32-bit machines, a 64-bit version would be appreciated, plus a way to decide to use 64-bit math where convenient.
Syntax
static inline size_t
fixed64_pack(uint64_t value,
void *out);
Return value
Number of bytes written to `out`.