AEMTSEJXOEXQTJEVUK3NGBP4ESM4UOFIXTBYUV7LEDZDJNKIA6CAC
/** Read a uint64_t from byte buffer as little endian */
#define legetu64(buf) (((uint64_t)buf[7]) << 56 | (uint64_t)buf[6] << 48 | (uint64_t)buf[5] << 40 | (uint64_t)buf[4] << 32 | (uint64_t)buf[3] << 24 | (uint64_t)buf[2] << 16 | (uint64_t)buf[1] << 8 | (uint64_t)buf[0]);
bufp = (uint8_t *)buf;
off->version = legetu64(bufp);
bufp += 8;
off->hashed_len = legetu64(bufp)
bufp += 8;
off->unhashed_off = legetu64(bufp)
bufp += 8;
off->unhashed_len = legetu64(bufp)
bufp += 8;
off->contents_off = legetu64(bufp)
bufp += 8;
off->contents_len = legetu64(bufp)
bufp += 8;
off->total = legetu64(bufp)
/** Cast as []uint64_t */
bufp = (uint64_t *)buf;
off->version = *bufp++;
off->hashed_len = *bufp++;
off->unhashed_off = *bufp++;
off->unhashed_len = *bufp++;
off->contents_off = *bufp++;
off->contents_len = *bufp++;
off->total = *bufp;