mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
Fix Vision read
This commit is contained in:
parent
c5444a03ac
commit
66f108bf24
|
@ -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…
Reference in New Issue
Block a user