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

Method ReadFrom

renomination_test.go:31–33  ·  view source on GitHub ↗
([]byte)

Source from the content-addressed store, hash-verified

29}
30
31func (m *mockPacketConnWithCapture) ReadFrom([]byte) (n int, addr net.Addr, err error) {
32 return 0, nil, nil
33}
34
35func (m *mockPacketConnWithCapture) WriteTo(b []byte, addr net.Addr) (n int, err error) {
36 // Capture the packet

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected