private static void intToByte(final byte[] target, final int[] ints) {
    final ByteBuffer buffer = ByteBuffer.wrap(target).order(ByteOrder.LITTLE_ENDIAN);
    for (final int i : ints) {
      buffer.putInt(i);
    }
  }
Calculates EthHash DataSet size at a given epoch.

@param epoch EthHash Epoch
@return DataSet size
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/EthHash.java