ReadString implements Connection.
(n int)
| 216 | |
| 217 | // ReadString implements Connection. |
| 218 | func (c *connection) ReadString(n int) (s string, err error) { |
| 219 | if err = c.waitRead(n); err != nil { |
| 220 | return s, err |
| 221 | } |
| 222 | return c.inputBuffer.ReadString(n) |
| 223 | } |
| 224 | |
| 225 | // ReadBinary implements Connection. |
| 226 | func (c *connection) ReadBinary(n int) (p []byte, err error) { |
nothing calls this directly
no test coverage detected