System::StringHashCompiletime::Hash 方法

StringHashCompiletime::Hash method

从指定长度的指定 c-string 生成哈希值。

static void System::StringHashCompiletime<i>::Hash(uint32_t &hash, int strLen, const char_t *input)
参数类型描述
输入uint32_t&指向 c 字符串起始位置的指针。
strLenint指定 c 字符串的长度
哈希const char_t *输出参数,方法返回时包含生成的哈希值

另见