IVAL
#define IVALS(buf,pos) ((int32)IVAL(buf,pos))
#define RIVAL(buf,pos) IREV(IVAL(buf,pos))
unsigned int x = reverse?RIVAL(buf,0):IVAL(buf,0);
unsigned int x1 = reverse?RIVAL(buf,0):IVAL(buf,0);
unsigned int x2 = reverse?RIVAL(buf,4):IVAL(buf,4);
unsigned int x = reverse?RIVAL(buf,0):IVAL(buf,0);
int x = IVAL(buf,0);
dos_date = IVAL(date_ptr,0);
x = IVAL(date_ptr,0);
d = (IVAL(p,4)*256.0 + CVAL(p,3)) * (1.0e-7 * (1<<24));