public static PrepareMessageData create(final Prepare preapare) {
    return new PrepareMessageData(preapare.encode());
  }
Create prepare message data.

@param preapare the Prepare payload message
@return the Prepare message data
consensus/qbft-core/src/main/java/org/hyperledger/besu/consensus/qbft/core/messagedata/PrepareMessageData.java