/// <summary>Writes the state of this object to the stream passed.</summary> /// <remarks>Writes the state of this object to the stream passed.</remarks> /// <param name="out">the stream to write the state to.</param> /// <exception cref="System.IO.IOException">if the stream throws it during the write. /// </exception> /// <serialData> /// /// <code>int</code> /// - the length of this object. /// <code>char[]</code> /// - the /// buffer from this object, which may be larger than the length /// field. /// </serialData> private void writeObject(java.io.ObjectOutputStream @out) { @out.defaultWriteObject(); @out.writeInt(Length); @out.writeObject(getValue()); }
/// <exception cref="System.IO.IOException"></exception> private void writeObject(java.io.ObjectOutputStream stream) { stream.defaultWriteObject(); stream.writeChar(separatorChar); }