ICounter Based<T>.Get Key Method
Copies the current key into the provided destination span.
Definition
Namespace: Numerics.NET.Random.Engines
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
void GetKey(
Span<T> destination
)Parameters
Remarks
Implementations must copy the key words into destination. This avoids returning spans that reference engine-owned storage which could become invalid when called through boxed structs.
Exceptions
| Argument | Thrown when destination.Length != the engine key length. |