C# Class MonoGame.Utilities.Hash

Afficher le fichier Open project: procfxgen/MGShaderEditor

Méthodes publiques

Méthode Description
ComputeHash ( ) : int

Compute a hash from a byte array.

Modified FNV Hash in C# http://stackoverflow.com/a/468084

ComputeHash ( Stream stream ) : int

Compute a hash from the content of a stream and restore the position.

Modified FNV Hash in C# http://stackoverflow.com/a/468084

Method Details

ComputeHash() public static méthode

Compute a hash from a byte array.
Modified FNV Hash in C# http://stackoverflow.com/a/468084
public static ComputeHash ( ) : int
Résultat int

ComputeHash() public static méthode

Compute a hash from the content of a stream and restore the position.
Modified FNV Hash in C# http://stackoverflow.com/a/468084
public static ComputeHash ( Stream stream ) : int
stream System.IO.Stream
Résultat int