JenkinsHash.ComputeHash 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ComputeHash(Byte[]) | |
ComputeHash(ReadOnlySpan<Byte>) | |
ComputeHash(String) | |
ComputeHash(UInt64, UInt64, UInt64) |
ComputeHash(Byte[])
- Source:
- JenkinsHash.cs
public static uint ComputeHash (byte[] data);
static member ComputeHash : byte[] -> uint32
Public Shared Function ComputeHash (data As Byte()) As UInteger
参数
- data
- Byte[]
返回
适用于
ComputeHash(ReadOnlySpan<Byte>)
- Source:
- JenkinsHash.cs
public static uint ComputeHash (ReadOnlySpan<byte> data);
static member ComputeHash : ReadOnlySpan<byte> -> uint32
Public Shared Function ComputeHash (data As ReadOnlySpan(Of Byte)) As UInteger
参数
- data
- ReadOnlySpan<Byte>
返回
适用于
ComputeHash(String)
- Source:
- JenkinsHash.cs
public static uint ComputeHash (string data);
static member ComputeHash : string -> uint32
Public Shared Function ComputeHash (data As String) As UInteger
参数
- data
- String
返回
适用于
ComputeHash(UInt64, UInt64, UInt64)
- Source:
- JenkinsHash.cs
public static uint ComputeHash (ulong u1, ulong u2, ulong u3);
static member ComputeHash : uint64 * uint64 * uint64 -> uint32
Public Shared Function ComputeHash (u1 As ULong, u2 As ULong, u3 As ULong) As UInteger
参数
- u1
- UInt64
- u2
- UInt64
- u3
- UInt64