Provides storage for payload when serializing a message.
public abstract class SerializationContext
Use the byte array as serialized form of current message and mark serialization process as complete. Complete() can only be called once. By calling this method the caller gives up the ownership of the payload which must not be accessed afterwards.
public virtual void Complete(byte payload)
the serialized form of current message