code: func (req *ReferenceUpdateRequest) Decode(r io.Reader) error {
  	var rc io.ReadCloser
  	var ok bool
  	rc, ok = r.(io.ReadCloser)
  	if !ok {
  		rc = ioutil.NopCloser(r)
  	}
  
  	d := &updReqDecoder{r: rc, s: pktline.NewScanner(r)}
  	return d.Decode(req)
  }
docs: // Decode reads the next update-request message form the reader and wr