Improve websocket writer

This commit is contained in:
世界
2022-09-23 17:21:24 +08:00
parent f4fda3f508
commit 01ee40208d
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