public void write(DataOutputStream dos) throws IOException { super.write(dos); dos.writeShort(records); dos.writeInt(dataLen); dos.writeShort(nextTID); dos.writeLong(nextInChain); dos.writeLong(lastInChain);
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.shortToByte(nextTID, data, offset); offset += 2; ByteConversion.longToByte(nextInChain, data, offset); offset += 8; ByteConversion.longToByte(lastInChain, data, offset); return offset + 8;
		public void write(DataOutputStream dos) throws IOException {			super.write(dos);			dos.writeShort(records);			dos.writeInt(dataLen);			dos.writeShort(nextTID);			dos.writeLong(nextInChain);			dos.writeLong(lastInChain);		}