C# Class Hpdi.HashLib.XorHash32To16

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

Méthodes publiques

Méthode Description
Compute ( byte bytes ) : ushort
Compute ( byte bytes, int offset, int limit ) : ushort
XorHash32To16 ( Hash32 hash32 )

Method Details

Compute() public méthode

public Compute ( byte bytes ) : ushort
bytes byte
Résultat ushort

Compute() public méthode

public Compute ( byte bytes, int offset, int limit ) : ushort
bytes byte
offset int
limit int
Résultat ushort

XorHash32To16() public méthode

public XorHash32To16 ( Hash32 hash32 )
hash32 Hash32