refactor buffer

This commit is contained in:
Darien Raymond committed 2016-12-09 12:08:25 +01:00
1 parent 7a80409e30
commit 055023fdd5
53 files changed
+220 -284

No files matched your search

+1 -1
View File
@@ -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()