Skip implements Connection.
(n int)
| 152 | |
| 153 | // Skip implements Connection. |
| 154 | func (c *connection) Skip(n int) (err error) { |
| 155 | if err = c.waitRead(n); err != nil { |
| 156 | return err |
| 157 | } |
| 158 | return c.inputBuffer.Skip(n) |
| 159 | } |
| 160 | |
| 161 | // Release implements Connection. |
| 162 | func (c *connection) Release() (err error) { |