JenkinsHash.ComputeHash 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
ComputeHash(Byte[]) | |
ComputeHash(ReadOnlySpan<Byte>) | |
ComputeHash(String) | |
ComputeHash(UInt64, UInt64, UInt64) |
public static uint ComputeHash(byte[] data);
static member ComputeHash : byte[] -> uint32
Public Shared Function ComputeHash (data As Byte()) As UInteger
參數
- data
- Byte[]
傳回
適用於
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>
傳回
適用於
public static uint ComputeHash(string data);
static member ComputeHash : string -> uint32
Public Shared Function ComputeHash (data As String) As UInteger
參數
- data
- String