1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-03 07:56:42 -05:00

remove unused function

This commit is contained in:
Darien Raymond 2017-02-14 22:37:59 +01:00
parent 48eb40ff39
commit 16d803ba1d
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -78,23 +78,6 @@ func (g StaticUint16Generator) Next() uint16 {
return uint16(g) return uint16(g)
} }
type MultiplyUint16Generator struct {
base uint16
value uint16
}
func NewMultiplyUint16Generator(base uint16) *MultiplyUint16Generator {
return &MultiplyUint16Generator{
base: base,
value: 1,
}
}
func (g *MultiplyUint16Generator) Next() uint16 {
g.value *= g.base
return g.value
}
type ShakeUint16Generator struct { type ShakeUint16Generator struct {
shake sha3.ShakeHash shake sha3.ShakeHash
buffer [2]byte buffer [2]byte