mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
refactor bytes functions
This commit is contained in:
16 files changed
+78
-64
No files matched your search
@@ -306,5 +306,5 @@ func (r *Socks5Response) Write(writer io.Writer) {
|
||||
case 0x04:
|
||||
writer.Write(r.IPv6[:])
|
||||
}
|
||||
writer.Write(r.Port.Bytes())
|
||||
writer.Write(r.Port.Bytes(nil))
|
||||
}
|
||||
Reference in new issue
Block a user