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

Method ReadFrom

gather_test.go:1251–1253  ·  view source on GitHub ↗
(_ []byte)

Source from the content-addressed store, hash-verified

1249}
1250
1251func (c *errorPacketConn) ReadFrom(_ []byte) (int, net.Addr, error) {
1252 return 0, c.addr, io.EOF
1253}
1254
1255func (c *errorPacketConn) WriteTo(_ []byte, _ net.Addr) (int, error) {
1256 return 0, errors.New("write failure") //nolint:err113 // test

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected