public void write(DataOutputStream dos) throws IOException { super.write(dos); dos.writeShort(records); dos.writeInt(dataLen); dos.writeLong(nextDataPage); dos.writeLong(prevDataPage); dos.writeShort(tid);
public int write(byte[] data, int offset) throws IOException { offset = super.write(data, offset); ByteConversion.shortToByte(records, data, offset); offset += 2; ByteConversion.intToByte(dataLen, data, offset); offset += 4; ByteConversion.longToByte(nextDataPage, data, offset); offset += 8; ByteConversion.longToByte(prevDataPage, data, offset); offset += 8; ByteConversion.shortToByte(tid, data, offset); return offset + 2;
		public void write(DataOutputStream dos) throws IOException {			super.write(dos);			dos.writeShort(records);			dos.writeInt(dataLen);			dos.writeLong(nextDataPage);			dos.writeLong(prevDataPage);			dos.writeShort(tid);			//            if(dataLen == 0) {			//                LOG.debug("dataLen == 0");			//                Thread.dumpStack();			//            }		}