gpid4
May 11th, 2001, 03:51 PM
Hello all,
The C application I'm working on reads info from a bunch of binary files. These binary files are written by several java classes. Now since Java and C have different representations of primitive data types, the size of these files is causing a problem. How do I convert Java primitive types to corresponding C data types. Does anybody know of a code snippet on the web that does something like this? Solving this problem is really critical.Any help will be greatly appreciated.
Thanks
The C application I'm working on reads info from a bunch of binary files. These binary files are written by several java classes. Now since Java and C have different representations of primitive data types, the size of these files is causing a problem. How do I convert Java primitive types to corresponding C data types. Does anybody know of a code snippet on the web that does something like this? Solving this problem is really critical.Any help will be greatly appreciated.
Thanks