## StringHashCompiletime::Hash method


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

```cpp
static void System::StringHashCompiletime<i>::Hash(uint32_t &hash, int strLen, const char_t *input)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 输入 | uint32_t\& | 指向 c 字符串起始位置的指针。 |
| strLen | int | 指定 c 字符串的长度 |
| 哈希 | const char_t * | 输出参数，方法返回时包含生成的哈希值 |

## 另见

* Class [StringHashCompiletime](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
