@Override
  public Bytes encode(final BftExtraData bftExtraData, final EncodingType encodingType) {
    throw new UnsupportedOperationException("The encode method is not supported.");
  }
Encode extra data to bytes.

@return the bytes
consensus/ibftlegacy/src/main/java/org/hyperledger/besu/consensus/ibftlegacy/IbftExtraDataCodec.java