long elementEnd() {
      return payloadStart + payloadSize - 1;
    }
The index of the last byte of the rlp encoded element at startIndex

@return the index of the last byte of the rlp encoded element at startIndex
ethereum/rlp/src/main/java/org/hyperledger/besu/ethereum/rlp/RLPDecodingHelpers.java