long typecnt = get_long(ptr);
long charcnt = get_long(ptr);
int size = timecnt*5+typecnt*6+isgmtcnt+isstdcnt+leapcnt*8+charcnt;
long typecnt = get_long(ptr);
long charcnt = get_long(ptr);
int size = timecnt*5+typecnt*6+isgmtcnt+isstdcnt+leapcnt*8+charcnt;