Exemplo n.º 1
0
 public void LoadDataRef(ref Xoroshiro128Plus rng)
 {
     rng.SetFieldValue("state0", state0);
     rng.SetFieldValue("state1", state1);
 }
Exemplo n.º 2
0
 public void LoadData(out Xoroshiro128Plus rng)
 {
     rng = FormatterServices.GetUninitializedObject(typeof(Xoroshiro128Plus)) as Xoroshiro128Plus;
     rng.SetFieldValue("state0", state0);
     rng.SetFieldValue("state1", state1);
 }