if (this.data != null) {
//
// If there is any conversion needed to send the data,
// keep the user data unchanged.
//
MemoryStream dataWire = null;
dataWire = this.convertMemoryStream(this, this.data, false);
int streamOffset = dataWire.getOffset();
dataWire.open(true);
dataWire.seek(0);
dataWire.readBinary(binData);
dataWire.seek(streamOffset);
dataWire.close();
}
return binData;
}