code: func (dp *Disconnect) Encode(dst []byte) (int, error) {
  	return nakedEncode(dst, DISCONNECT)
  }
docs: // Encode writes the packet bytes into the byte slice from the argument. It
  // returns the number of bytes encoded and whether there's any errors along
  // the way. If there is an error, the byte slice should be considered invalid.