MCPcopy Create free account
hub / github.com/encodeous/nylon / Write

Method Write

polyamide/tun/netstack/tun.go:434–436  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

432}
433
434func (pc *PingConn) Write(p []byte) (n int, err error) {
435 return pc.WriteTo(p, &pc.raddr)
436}
437
438func (pc *PingConn) ReadFrom(p []byte) (n int, addr net.Addr, err error) {
439 e, notifyCh := waiter.NewChannelEntry(waiter.EventIn)

Callers

nothing calls this directly

Calls 1

WriteToMethod · 0.95

Tested by

no test coverage detected