(b []byte)
| 872 | } |
| 873 | |
| 874 | func (cn *Conn) Write(b []byte) (int, error) { |
| 875 | // Lock-free netConn access for better performance |
| 876 | if netConn := cn.getNetConn(); netConn != nil { |
| 877 | return netConn.Write(b) |
| 878 | } |
| 879 | return 0, net.ErrClosed |
| 880 | } |
| 881 | |
| 882 | func (cn *Conn) RemoteAddr() net.Addr { |
| 883 | // Lock-free netConn access for better performance |
nothing calls this directly
no test coverage detected