GKARC4RandomSource.DropValues(nuint) Method

Definition

Discards count values. (See remarks).

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

Parameters

count
System.System.UIntPtr System.unativeint

The number of values to discard.

Attributes

Remarks

GKARC4RandomSource objects are generally good random sources, but may be predicted by analyzing the first 768 values generated. To avoid such possibilities, call DropValues(nuint) with a value of 768 or greater.

Applies to