The process of reading a binary file is related to the process of its creation, because it is necessary to analyze its content in exactly the same way. In this recipe, you will learn how to read data stored in a binary file.
As an example, you will modify the project from the previous recipe by adding a Load results button. After you click on it, data from the Results.bin
file will be read and added to the collection of results. Also, the minimum, maximum, and average values will be calculated and shown in the user interface, together with a number of results and the time necessary for the previously run and saved experiment.