(e *encoder)
| 241 | func (r *repServer) code() uint32 { return cRepServer } |
| 242 | |
| 243 | func (r *repServer) encode(e *encoder) { |
| 244 | e.writeUint32(uint32(len(r.name))) |
| 245 | e.writeString(r.name) |
| 246 | e.writeString(r.details) |
| 247 | } |
| 248 | |
| 249 | func (r *repServer) decode(e *encoder, l uint32) { |
| 250 | if l < 4 { |
nothing calls this directly
no test coverage detected