MCPcopy Create free account
hub / github.com/pion/ice / WriteTo

Method WriteTo

gather_test.go:1224–1224  ·  view source on GitHub ↗
(p []byte, _ net.Addr)

Source from the content-addressed store, hash-verified

1222
1223func (c *testTCPPacketConn) ReadFrom([]byte) (int, net.Addr, error) { return 0, c.addr, io.EOF }
1224func (c *testTCPPacketConn) WriteTo(p []byte, _ net.Addr) (int, error) { return len(p), nil }
1225func (c *testTCPPacketConn) Close() error { return nil }
1226func (c *testTCPPacketConn) LocalAddr() net.Addr { return c.addr }
1227func (c *testTCPPacketConn) SetDeadline(time.Time) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected