@Override
  protected void exportBlock(final FileOutputStream outputStream, final Block block)
      throws IOException {
    final Bytes rlp = RLP.encode(block::writeTo);
    outputStream.write(rlp.toArrayUnsafe());
  }
Instantiates a new Rlp block exporter.

@param blockchain the blockchain
app/src/main/java/org/hyperledger/besu/chainexport/RlpBlockExporter.java