code: func readTxOut(r io.Reader, pver uint32, version int32, to *TxOut) error {
  	err := readElement(r, &to.Value)
  	if err != nil {
  		return err
  	}
  
  	to.PkScript, err = readScript(r, pver, MaxMessagePayload,
  		"transaction output public key script")
  	return err
  }
docs: // readTxOut reads the next sequence of bytes from r as a transaction output
  // (TxOut).