private static int readLittleEndianInt(final byte[] buffer, final int offset) {
    return Ints.fromBytes(
        buffer[offset + 3], buffer[offset + 2], buffer[offset + 1], buffer[offset]);
  }
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