Esempio n. 1
0
        public static Lift Deserialize(Stream stream)
        {
            Lift lift = Pool.Get <Lift>();

            Lift.Deserialize(stream, lift, false);
            return(lift);
        }
Esempio n. 2
0
 public static Lift Deserialize(byte[] buffer, Lift instance, bool isDelta = false)
 {
     using (MemoryStream memoryStream = new MemoryStream(buffer))
     {
         Lift.Deserialize(memoryStream, instance, isDelta);
     }
     return(instance);
 }
Esempio n. 3
0
        public static Lift Deserialize(byte[] buffer)
        {
            Lift lift = Pool.Get <Lift>();

            using (MemoryStream memoryStream = new MemoryStream(buffer))
            {
                Lift.Deserialize(memoryStream, lift, false);
            }
            return(lift);
        }
Esempio n. 4
0
 public void FromProto(Stream stream, bool isDelta = false)
 {
     Lift.Deserialize(stream, this, isDelta);
 }