(p []byte)
| 288 | } |
| 289 | |
| 290 | func (hc *hijackedConn) Read(p []byte) (int, error) { |
| 291 | n, err := hc.Conn.Read(p) |
| 292 | hc.updateReadSize(n) |
| 293 | return n, err |
| 294 | } |
| 295 | |
| 296 | func (hc *hijackedConn) WriteTo(w io.Writer) (int64, error) { |
| 297 | n, err := io.Copy(w, hc.Conn) |
nothing calls this directly
no test coverage detected