You should be able to read any file generated by another language. It is better if there is a library. This will be complicated if the file uses arrays, especially dynamic ones. This may require some pleasure with a hex editor. I can not guarantee reliability using this method, though, if the data is not simple. Just realize that this can be a daunting task.
It is better to have a file specification. You do not need to use a binary file, as you can use something like JSON or XML if that is all the text information.
source share