PersistentStringHashFrom(ReadOnlySpanChar, HashType) Method
Generates a persistent hash code for the characters in the specified read-only span
using the specified hashType.
Namespace: FolkerKinzel.StringsAssembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.5.0+6287955de434d14f61638ea0c3c40b499ae05cd1
public static int From(
ReadOnlySpan<char> span,
HashType hashType
)
Public Shared Function From (
span As ReadOnlySpan(Of Char),
hashType As HashType
) As Integer
public:
static int From(
ReadOnlySpan<wchar_t> span,
HashType hashType
)
static member From :
span : ReadOnlySpan<char> *
hashType : HashType -> int
- span ReadOnlySpanChar
- The Char-sequence that is being hashed.
- hashType HashType
- The kind of hashcode to be generated.
Int32The hashcode.