public int packDate(int offs, DateTime val) { extend(offs + 8); Bytes.packDate(arr, offs, val); return offs + 8; }