code: func (t *TxOut) SerializeSize() int {
  	// Value 8 bytes + serialized varint size for the length of PkScript +
  	// PkScript bytes.
  	return 8 + VarIntSerializeSize(uint64(len(t.PkScript))) + len(t.PkScript)
  }
docs: // SerializeSize returns the number of bytes it would take to serialize the
  // the transaction output.