示例#1
0
 public static FriendOp Desserialize(byte[] data)
 {
     FriendOp result = new FriendOp();
     using (MemoryStream m = new MemoryStream(data))
     {
         using (BinaryReader reader = new BinaryReader(m))
         {
             result.Id = reader.ReadInt32();
             result.Friend = reader.ReadString();
             result.Group = reader.ReadString();
         }
     }
     return result;
 }
示例#2
0
        public static void message(FriendOp mess, Socket handler)
        {


        }