mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-20 23:06:08 +00:00
refactor buffer
This commit is contained in:
53 files changed
+220
-284
No files matched your search
@@ -20,7 +20,7 @@ func NewTestPacketDispatcher(handler func(destination v2net.Destination, traffic
|
||||
if err != nil {
|
||||
break
|
||||
}
|
||||
output := buf.NewBuffer()
|
||||
output := buf.New()
|
||||
output.Append([]byte("Processed: "))
|
||||
output.Append(payload.Bytes())
|
||||
payload.Release()
|
||||
|
||||
Reference in new issue
Block a user