Exemplo n.º 1
0
 /**
  * called by the class that Is responsible for writing this sucker.
  * Subclasses should implement this so that their data Is passed back in a
  * byte array.
  *
  * @param offset to begin writing at
  * @param data byte array containing instance data
  * @return number of bytes written
  */
 protected override void Serialize(ContinuableRecordOutput out1)
 {
     out1.WriteShort(this._text.Length);
     out1.WriteStringData(this._text);
 }
Exemplo n.º 2
0
 private void SerializeTrailingRecords(ContinuableRecordOutput out1)
 {
     out1.WriteContinue();
     out1.WriteStringData(_text.String);
     out1.WriteContinue();
     WriteFormatData(out1,_text);
 }