PULL2
#define PULL4(p) (PULL2(p)+((ulong)PULL2(p+2)<<16))
log->stored = PULL2(buf + HEAD + 32);
block = PULL2(buf + 1);