public int packDate(int offs, DateTime val) { extend(offs + 8); Bytes.packDate(arr, offs, val); return offs + 8; }
public int packDecimal(int offs, decimal val) { extend(offs + 16); Bytes.packDecimal(arr, offs, val); return offs + 16; }
public int packGuid(int offs, Guid val) { extend(offs + 16); Bytes.packGuid(arr, offs, val); return offs + 16; }
public int packF4(int offs, float val) { extend(offs + 4); Bytes.packF4(arr, offs, val); return offs + 4; }
public int packF8(int offs, double val) { extend(offs + 8); Bytes.packF8(arr, offs, val); return offs + 8; }
public int packI8(int offs, long val) { extend(offs + 8); Bytes.pack8(arr, offs, val); return offs + 8; }
public int packI4(int offs, int val) { extend(offs + 4); Bytes.pack4(arr, offs, val); return offs + 4; }
public int packI2(int offs, int val) { extend(offs + 2); Bytes.pack2(arr, offs, (short)val); return offs + 2; }
internal static void setItem(Page pg, int index, int mask) { Bytes.pack4(pg.data, firstKeyOffs + index * 4, mask); }
internal static int getItem(Page pg, int index) { return(Bytes.unpack4(pg.data, firstKeyOffs + index * 4)); }