GKARC4RandomSource.DropValues(nuint) 方法

定义

count放弃值。 (请参阅备注) 。

[Foundation.Export("dropValuesWithCount:")]
public virtual void DropValues (nuint count);
abstract member DropValues : nuint -> unit
override this.DropValues : nuint -> unit

参数

count
System.System.UIntPtr System.unativeint

要丢弃的值数。

属性

注解

GKARC4RandomSource 对象通常是很好的随机源,但可以通过分析生成的前 768 个值来预测。 若要避免出现这种可能性,请调用 DropValues(nuint) 值为 768 或更大的值。

适用于