Property | Type | Description | |
---|---|---|---|
Prefix | string |
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.
|
public static GetFilenameHash ( string filename, bool hasHash = true ) : byte[] | ||
filename | string | |
hasHash | bool | |
return | byte[] |
public static GetFilenameHashPlain ( string filename, bool lower = true ) : uint | ||
filename | string | |
lower | bool | |
return | uint |
public static GetFullFilename ( string filename, bool includeHash = true ) : string | ||
filename | string | |
includeHash | bool | |
return | string |
public static GetFullFilename ( string filename, uint hash, bool includeHash = true ) : string | ||
filename | string | |
hash | uint | |
includeHash | bool | |
return | string |
public static GetFullFilenameHash ( string filename ) : byte[] | ||
filename | string | |
return | byte[] |
public static Hash ( Array data, uint length ) : uint | ||
data | Array | Data buffer |
length | uint | Length to hash |
return | uint |