@Override
  public void toData(DataOutput out,
      SerializationContext context) throws IOException {
    // Note: does not call super.toData what a HACK
    out.writeByte(_operation.getEventCode());
    int instantiatorCount = serializedInstantiators.length;
    out.writeInt(instantiatorCount);
    for (final byte[] serializedInstantiator : serializedInstantiators) {
      DataSerializer.writeByteArray(serializedInstantiator, out);
    }
    context.getSerializer().writeObject(_membershipId, out);
    context.getSerializer().writeObject(_eventIdentifier, out);
  }
Writes an object to a <code>Datautput</code>.

@throws IOException If this serializer cannot write an object to <code>out</code>.
@see DataSerializableFixedID#toData(DataOutput, SerializationContext)
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ClientInstantiatorMessage.java