C# Class Hpdi.HashLib.XorHash32To16

16-bit hash function based on XORing the upper and lower words of a 32-bit hash.
Inheritance: Hash16
Show file Open project: abevoelker/vss2git Class Usage Examples

Public Methods

Method Description
Compute ( byte bytes ) : ushort
Compute ( byte bytes, int offset, int limit ) : ushort
XorHash32To16 ( Hash32 hash32 )

Method Details

Compute() public method

public Compute ( byte bytes ) : ushort
bytes byte
return ushort

Compute() public method

public Compute ( byte bytes, int offset, int limit ) : ushort
bytes byte
offset int
limit int
return ushort

XorHash32To16() public method

public XorHash32To16 ( Hash32 hash32 )
hash32 Hash32