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