code: public List<BitcoinTransactionOutput> parseTransactionOutputs(ByteBuffer rawByteBuffer, long noOfTransactionOutputs) {
  	ArrayList<BitcoinTransactionOutput> currentTransactionOutput = new ArrayList<>((int)(noOfTransactionOutputs));
  	for (int i=0;i<noOfTransactionOutputs;i++) {
  		// read value
  	
  		byte[] currentTransactionOutputValueArray = new byte[8];
  		rawByteBuffer.get(currentTransactionOutputValueArray);
  		BigInteger currentTransactionOutputValue = new BigInteger(1,EthereumUtil.reverseByteArray(currentTransactionOutputValueArray));
  		// read outScript length (Potential Internal Exceed Java Type)
  		byte[] currentTransactionTxOutScriptLengthVarInt=BitcoinUtil.convertVarIntByteBufferToByteArray(rawByteBuffer);
  		long currentTransactionTxOutScriptSize=BitcoinUtil.getVarInt(currentTransactionTxOutScriptLengthVarInt);
  		int currentTransactionTxOutScriptSizeInt=(int)(currentTransactionTxOutScriptSize);
  		// read outScript
  		byte[] currentTransactionOutScript=new byte[currentTransactionTxOutScriptSizeInt];
  		rawByteBuffer.get(currentTransactionOutScript,0,currentTransactionTxOutScriptSizeInt);
  		currentTransactionOutput.add(new BitcoinTransactionOutput(currentTransactionOutputValue,currentTransactionTxOutScriptLengthVarInt,currentTransactionOutScript));
  	}
  	return currentTransactionOutput;
  }
docs: /*
  Parses the Bitcoin transaction outputs in a byte buffer.
  
  @param rawByteBuffer ByteBuffer from which the transaction outputs have to be parsed
  @param noOfTransactionInputs Number of expected transaction outputs
  
  @return Array of transactions