Ejemplo n.º 1
0
        public RefreshRequest ConvertToClass(byte[] data)
        {
            RefreshRequest rr = new RefreshRequest();
            rr.Uid = BitConverter.ToInt32(data, 2);
            rr.User_id = BitConverter.ToInt32(data, 6);

            return rr;
        }
Ejemplo n.º 2
0
 public MessageFresh(DataPackage dpk)
 {
     data = dpk;
     RefreshRequestConvert converter = new RefreshRequestConvert();
     rr = converter.ConvertToClass(dpk.Data);
 }