IdSpan.UnsafeCreate(Byte[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.