/// <summary> /// The serialize message. /// </summary> /// <returns> /// The <see cref="byte[]" />. /// </returns> public static byte[] SerializeMessage(BubblingObject bubblingObject) { return(SerializationEngine.ObjectToByteArray(bubblingObject)); }