mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-10-14 04:54:03 -04:00
remove Buffer.Append method
This commit is contained in:
@@ -24,7 +24,7 @@ func TestUDPEncoding(t *testing.T) {
|
||||
|
||||
content := []byte{'a'}
|
||||
payload := buf.New()
|
||||
payload.Append(content)
|
||||
payload.Write(content)
|
||||
assert(writer.WriteMultiBuffer(buf.NewMultiBufferValue(payload)), IsNil)
|
||||
|
||||
reader := NewUDPReader(b)
|
||||
|
Reference in New Issue
Block a user