C# Class ShenmueHDTools.Main.MurmurHash2Shenmue

MurmurHash2 Shenmue implementation
Show file Open project: derplayer/ShenmueHDTools

Public Properties

Property Type Description
Prefix string

Public Methods

Method Description
GetFilenameHash ( string filename, bool hasHash = true ) : byte[]
GetFilenameHashPlain ( string filename, bool lower = true ) : uint
GetFullFilename ( string filename, bool includeHash = true ) : string
GetFullFilename ( string filename, uint hash, bool includeHash = true ) : string
GetFullFilenameHash ( string filename ) : byte[]
Hash ( Array data, uint length ) : uint

MurmurHash2 Shenmue implementation.

Method Details

GetFilenameHash() public static method

public static GetFilenameHash ( string filename, bool hasHash = true ) : byte[]
filename string
hasHash bool
return byte[]

GetFilenameHashPlain() public static method

public static GetFilenameHashPlain ( string filename, bool lower = true ) : uint
filename string
lower bool
return uint

GetFullFilename() public static method

public static GetFullFilename ( string filename, bool includeHash = true ) : string
filename string
includeHash bool
return string

GetFullFilename() public static method

public static GetFullFilename ( string filename, uint hash, bool includeHash = true ) : string
filename string
hash uint
includeHash bool
return string

GetFullFilenameHash() public static method

public static GetFullFilenameHash ( string filename ) : byte[]
filename string
return byte[]

Hash() public static method

MurmurHash2 Shenmue implementation.
public static Hash ( Array data, uint length ) : uint
data Array Data buffer
length uint Length to hash
return uint

Property Details

Prefix public static property

public static string Prefix
return string