public void writeTo(final RLPOutput output) {
    output.writeList(getTransactions(), Transaction::writeTo);
    output.writeList(getOmmers(), BlockHeader::writeTo);
    withdrawals.ifPresent(withdrawals -> output.writeList(withdrawals, Withdrawal::writeTo));
  }
Writes Block to {@link RLPOutput}.

@param output Output to write to
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/BlockBody.java