mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-10 12:30:58 +00:00
Fix Vision read
This commit is contained in:
parent
c5444a03ac
commit
66f108bf24
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ type Conn struct {
|
|||
func (vc *Conn) Read(b []byte) (int, error) {
|
||||
if vc.received {
|
||||
if vc.readProcess {
|
||||
buffer := buf2.As(b)
|
||||
buffer := buf2.With(b)
|
||||
err := vc.ReadBuffer(buffer)
|
||||
return buffer.Len(), err
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue