public PageItemRecord(RecordInputStream in) {int dataSize = in.remaining();if (dataSize % FieldInfo.ENCODED_SIZE != 0) {throw new RecordFormatException("Bad data size " + dataSize);}int nItems = dataSize / FieldInfo.ENCODED_SIZE;FieldInfo[] fis = new FieldInfo[nItems];for (int i = 0; i < fis.length; i++) {fis[i] = new FieldInfo(in);}_fieldInfos = fis;}
public PageItemRecord(RecordInputStream in1){int dataSize = in1.Remaining;if (dataSize % FieldInfo.ENCODED_SIZE != 0){throw new RecordFormatException("Bad data size " + dataSize);}int nItems = dataSize / FieldInfo.ENCODED_SIZE;FieldInfo[] fis = new FieldInfo[nItems];for (int i = 0; i < fis.Length; i++){fis[i] = new FieldInfo(in1);}_fieldInfos = fis;}