sing-box/transport/v2raywebsocket/mask.go
2022-09-23 18:55:07 +08:00

7 lines
158 B
Go

package v2raywebsocket
import _ "unsafe"
//go:linkname maskBytes github.com/sagernet/websocket.maskBytes
func maskBytes(key [4]byte, pos int, b []byte) int