Freedom noises: Add hex type

This commit is contained in:
风扇滑翔翼 2025-02-08 13:03:58 +08:00 committed by GitHub
parent 38a79ee917
commit 534526e938
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,8 @@ UDP noise, 用于在发出UDP连接前发出一些随机数据作为“噪声”
- 当 `type` 为 rand 时,这里指定随机数据的长度 可以是固定值 `"100"` 或者浮动值 `"50-150"`
- 当 `type` 为 str 时,这里指定要发送的字符串
- 当 `type` 为 base64 时这里指定base64过的二进制数据
- 当 `type` 为 hex 时,这里指定以 hex 形式表示的的二进制数据
- 当 `type` 为 base64 时,这里指定 base64 过的二进制数据
`"delay"`: 延迟,单位毫秒。发送该噪声包后核心会等待该时间后再发送下一个噪声包或真实数据,默认不等待,为 [Int32Range](../../development/intro/guide.md#int32range) 类型