public static Lift Deserialize(Stream stream) { Lift lift = Pool.Get <Lift>(); Lift.Deserialize(stream, lift, false); return(lift); }
public static Lift Deserialize(byte[] buffer, Lift instance, bool isDelta = false) { using (MemoryStream memoryStream = new MemoryStream(buffer)) { Lift.Deserialize(memoryStream, instance, isDelta); } return(instance); }
public static Lift Deserialize(byte[] buffer) { Lift lift = Pool.Get <Lift>(); using (MemoryStream memoryStream = new MemoryStream(buffer)) { Lift.Deserialize(memoryStream, lift, false); } return(lift); }
public void FromProto(Stream stream, bool isDelta = false) { Lift.Deserialize(stream, this, isDelta); }