public void sendMessage(string msg, UdpClient updClient, IPEndPoint remoteIpEndpoint) { byte[] msgBytes = Utils.encodeString(msg); updClient.Send(msgBytes, msgBytes.Length, remoteIpEndpoint); }
public byte[] encode() { return(Utils.encodeString(messageText)); }