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