|
-
May 9th, 2000, 06:51 PM
#1
Big Endian / Little Endian
My Java program needs to read a binary file created by a non-Java program. The file contains integers, floats and doubles. What is the
simplest way of doing this? Currently, I am using a very un-elegant way - I read the file as an array of bytes, swap them, write the array
back to a temporary file and then read the temporary file again.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|