mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-04 08:15:21 -05:00
refactor
This commit is contained in:
@@ -15,8 +15,8 @@ func Roll(n int) int {
|
||||
return rand.Intn(n)
|
||||
}
|
||||
|
||||
// RandomUint16 returns a random uint16 value.
|
||||
func RandomUint16() uint16 {
|
||||
// RollUint16 returns a random uint16 value.
|
||||
func RollUint16() uint16 {
|
||||
return uint16(rand.Intn(65536))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user