1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-04 08:15:21 -05:00
This commit is contained in:
Darien Raymond
2017-04-27 11:54:15 +02:00
parent b841042d0c
commit 2e756cdaa8
7 changed files with 8 additions and 8 deletions

View File

@@ -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))
}