39 out[0] = (i & 0xff0000000000) >> 40;
40 out[1] = (i & 0x00ff00000000) >> 32;
41 out[2] = (i & 0x0000ff000000) >> 24;
42 out[3] = (i & 0x000000ff0000) >> 16;
43 out[4] = (i & 0x00000000ff00) >> 8;
44 out[5] = (i & 0x0000000000ff);
56 i |= ((uint64_t)
in[0]) << 40;
57 i |= ((uint64_t)
in[1]) << 32;
static uint8_t * uint48_to_buff(uint8_t out[static 6], uint64_t i)
Copy a 48bit value from a 64bit integer into a uint8_t buff in big endian byte order.
static uint64_t uint48_from_buff(uint8_t const in[6])
Convert a 48bit big endian value into a unsigned 64bit integer.
static size_t char ** out