/// <summary> /// A helper to just send a message without a transaction /// </summary> /// <param name="msg">Message to send</param> public void Send(Message msg) { // Convert the outgoing message to an array of bytes bool[] bit_array = msg.ToBitArray(); byte[] data = Util.ConvertBitArrayToByteArray(bit_array); commIF.Send(data); }
public static void Send(CommunicationInterface ci, byte[] data) => ci.Send(data);