Method Hash64
Hash64(byte*, int, ulong)
Generate a 64-bit xxHash value.
Declaration
public static ulong Hash64(byte* buffer, int bufferLength, ulong seed = 0)
Parameters
| Type | Name | Description | 
|---|---|---|
| byte* | buffer | Input buffer.  | 
    
| int | bufferLength | Input buffer length.  | 
    
| ulong | seed | Optional seed.  | 
    
Returns
| Type | Description | 
|---|---|
| ulong | Computed 64-bit hash value.  | 
    
Hash64(Stream, ulong)
Generate a 64-bit xxHash value from a stream.
Declaration
public static ulong Hash64(Stream stream, ulong seed = 0)
Parameters
| Type | Name | Description | 
|---|---|---|
| Stream | stream | Input stream.  | 
    
| ulong | seed | Optional seed.  | 
    
Returns
| Type | Description | 
|---|---|
| ulong | Computed 64-bit hash value.  |