StreamAddress Implicit  Conversion Operators

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0

Overload List

Implicit(Nullable<UInt64> to StreamAddress) Implicitly converts a nullable UInt64 to a stream address.
Implicit(ReadOnlySpan<UInt64> to StreamAddress) Implicitly converts a UInt64 array to a multi-segment stream address.
Implicit(UInt64 to StreamAddress) Implicitly converts a UInt64 to a single-segment stream address.

Implicit Conversion (Nullable<UInt64> to StreamAddress)

Implicitly converts a nullable UInt64 to a stream address.
C#
public static implicit operator StreamAddress (
	ulong? segment
)

Parameters

segment  Nullable<UInt64>
The stream segment value, or null for empty address.

Return Value

StreamAddress

Implicit Conversion (ReadOnlySpan<UInt64> to StreamAddress)

Implicitly converts a UInt64 array to a multi-segment stream address.
C#
public static implicit operator StreamAddress (
	ReadOnlySpan<ulong> segments
)

Parameters

segments  ReadOnlySpan<UInt64>
The stream segment values.

Return Value

StreamAddress

Implicit Conversion (UInt64 to StreamAddress)

Implicitly converts a UInt64 to a single-segment stream address.
C#
public static implicit operator StreamAddress (
	ulong segment
)

Parameters

segment  UInt64
The stream segment value.

Return Value

StreamAddress

See Also