Edit

Share via


IdSpan.UnsafeCreate(Byte[], Int32) Method

Definition

Creates an instance, specifying both the hash code and the value.

public static Orleans.Runtime.IdSpan UnsafeCreate (byte[]? value, int hashCode);
static member UnsafeCreate : byte[] * int -> Orleans.Runtime.IdSpan
Public Shared Function UnsafeCreate (value As Byte(), hashCode As Integer) As IdSpan

Parameters

value
Byte[]

The underlying value.

hashCode
Int32

The hash of the underlying value.

Returns

An IdSpan instance.

Remarks

This method is intended for use by serializers and other low-level libraries.

Applies to