(r *bufio.Reader, sz int)
| 41 | } |
| 42 | |
| 43 | func (t *saslAuthenticateResponseV0) readFrom(r *bufio.Reader, sz int) (remain int, err error) { |
| 44 | if remain, err = readInt16(r, sz, &t.ErrorCode); err != nil { |
| 45 | return |
| 46 | } |
| 47 | if remain, err = readString(r, remain, &t.ErrorMessage); err != nil { |
| 48 | return |
| 49 | } |
| 50 | if remain, err = readBytes(r, remain, &t.Data); err != nil { |
| 51 | return |
| 52 | } |
| 53 | return |
| 54 | } |
nothing calls this directly
no test coverage detected