mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-29 05:25:21 -05:00
cleanup buf interfaces
This commit is contained in:
@@ -20,7 +20,7 @@ func TestUDPEncoding(t *testing.T) {
|
||||
Address: net.IPAddress([]byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6}),
|
||||
Port: 1024,
|
||||
}
|
||||
writer := buf.NewSequentialWriter(NewUDPWriter(request, b))
|
||||
writer := &buf.SequentialWriter{Writer: NewUDPWriter(request, b)}
|
||||
|
||||
content := []byte{'a'}
|
||||
payload := buf.New()
|
||||
|
||||
Reference in New Issue
Block a user