Example #1
0
 public static StateStatus Desserialize(byte[] data)
 {
     StateStatus result = new StateStatus();
     using (MemoryStream m = new MemoryStream(data))
     {
         using (BinaryReader reader = new BinaryReader(m))
         {
             result.Id = reader.ReadInt32();
             result.State = reader.ReadString();
             result.Status = reader.ReadString();
         }
     }
     return result;
 }
Example #2
0
        public static void message(StateStatus mess, Socket handler)
        {


        }