OFile file = files[(int) pos[0]];
long p = pos[1];
file.writeShort(p, (short) iDataSegmentId);
file.writeLong(p += OConstants.SIZE_SHORT, iPosition);
file.writeByte(p += OConstants.SIZE_LONG, iRecordType);
file.writeInt(p += OConstants.SIZE_BYTE, 0);
final long returnedPosition = offset / RECORD_SIZE;
if (returnedPosition < beginOffsetData || beginOffsetData == -1) {