StreamAddress.Append Method

Creates a new stream address with the specified index appended to the end.

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
public StreamAddress Append(
	ulong index
)

Parameters

index  UInt64
The index to append.

Return Value

StreamAddress
A new StreamAddress with index appended to the current segments.

Remarks

This method creates a new stream address by appending a segment to the existing segments. For example, if the current address is [3, 7] and index is 5, the result will be [3, 7, 5].

See Also