Improve websocket writer

This commit is contained in:
世界
2022-09-23 17:21:24 +08:00
parent abe3dc6039
commit 22ea878fe9
6 changed files with 144 additions and 18 deletions

View File

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