public void ParseWeather()
 {
     try
     {
         var buffer  = "1208058C19F1C2B10060817FF4FF321C0B0016F847FF37C017160002F08FFEDF9463016004FFE8FF193A160088F08FFE5F8A6301E002FFE8FF0810C3020005FED1FF1B342C008CE01FFD3F5BC3020011FED1FF4BF22B0098E01FFD5F01E3560080C03FFA7F9376050009FCA3FF67EC5600A8C33FFA7F496E050023FCA3FF3320DC0A0036F847FF6FCAAD0020827FF47F12".ToByteArray();
         var weather = MessageMT.Unpack(buffer);
     }
     catch (Exception e)
     {
     }
 }
 public async Task Bysky()
 {
     try
     {
         var buffer = new InMemoryBuffer();
         var bytes  = "1204043F0D01286A1E27669F08768272FA8125E0B0BFCC6A0E14610A3481EFF952B4B05CFC2F53E7D2E013AEA013560F103035C55933596F5A4ED89BD6EB046DCD1C00CA".ToByteArray();
         var m      = MessageMT.Unpack(bytes, buffer) as ChatMessageMT;
     }
     catch (Exception e)
     {
     }
 }
        public void Location__()
        {
            try
            {
                try
                {
                    File.Delete(PacketBufferHelper.GetBufferDbPath());
                }
                catch { }


                var    buffer = new RealmPacketBuffer();
                string text   = @"Shovel works with all types of exchanges. 
In this example, I've set up exchanges as direct exchanges which use routing keys. 
However, if you have fanout exchanges, those will work as well—but you won't indicate a routing key when setting up the shovel for the exchange.
To demonstarate how you can send messages, let's look at the shovels we created for the first exchange that we set up—compose-to-messages-rmq. 
This shovel connects to our Compose for RabbitMQ exchange compose-exchange with our messages-rmq exchange in our Messages for RabbitMQ instance. 
Ive also created two queues to send messages to: compose - queue in the Compose instance and messages - queue in the Messages for RabbitMQ instance. 
Since the shovel is sending messages to the two exchanges, the queues have been bound to the exchanges so that the messages are received and queued up.";

                var __a = ChatMessageMT.Create(ProtocolVersion.v3__WeatherExtension, Subscriber.Create("*****@*****.**", SubscriberNetwork.Email), null, null, text);
                var __b = ChatMessageMO.Create(ProtocolVersion.v3__WeatherExtension, Subscriber.Create("79153925491", SubscriberNetwork.Mobile), null, null, text);

                var a = __a.Pack(56);
                var b = __b.Pack(56);

                var totalLength = a.Select(x => x.Payload.Length - 8).Sum();

                var m1_ = MessageMO.Unpack(b[1].Payload, buffer) as ChatMessageMO;
                var m2  = MessageMT.Unpack(a[1].Payload, buffer) as ChatMessageMT;
                var m1  = MessageMT.Unpack(a[0].Payload, buffer) as ChatMessageMT;
                var m2_ = MessageMO.Unpack(b[0].Payload, buffer) as ChatMessageMO;
                var m3  = MessageMT.Unpack(a[2].Payload, buffer) as ChatMessageMT;
                var m3_ = MessageMO.Unpack(b[2].Payload, buffer) as ChatMessageMO;

                if (!m3.Complete)
                {
                    throw new Exception();
                }

                if (m3.Text != text)
                {
                    throw new Exception();
                }
            }
            catch (Exception e)
            {
            }
        }