/** * Method declaration * * * @return * * @throws IOException * @throws Exception */ public byte[] write() { MemoryStream bout = new MemoryStream(iSize); BinaryWriter dout = new BinaryWriter(bout); dout.Write(iSize); nFirstIndex.write(dout); Column.writeData(dout, oData, tTable); dout.Write(iPos); bChanged = false; return(bout.ToArray()); }
/** * Method declaration * * * @param out * * @throws IOException * @throws Exception */ public void write(BinaryWriter dout) { if (Trace.ASSERT) { Trace.assert(iBalance != -2); } dout.Write(iBalance); dout.Write(iLeft); dout.Write(iRight); dout.Write(iParent); if (nNext != null) { nNext.write(dout); } }