Skip to content

IdSpan.UnsafeCreate(byte[]?, int)

UnsafeCreate(byte[]?, int)

static
View source
public static IdSpan UnsafeCreate(byte[]? value, int hashCode)
Creates an instance, specifying both the hash code and the value.

Parameters

valuebyte[]?
The underlying value.
hashCodeint
The hash of the underlying value.

Returns

An IdSpan instance.