完善对writev的支持;为vless和ws实现MultiWriter;修订代码

This commit is contained in:
hahahrfool
2022-03-22 22:39:26 +08:00
parent 536a84def6
commit 4d2bbaeceb
15 changed files with 267 additions and 42 deletions

View File

@@ -1,9 +0,0 @@
// Package utils provides utils that needed by all sub-packages in verysimle
package utils
//具体实现见 readv_*.go; 用 GetReadVReader() 函数来获取本平台的对应实现。
type MultiReader interface {
Init([][]byte)
Read(fd uintptr) int32
Clear()
}