LEDataStream

Little-endian replacements for DataInputStream, DataOutputStream and RandomAcces

Little-endian replacements for DataInputStream, DataOutputStream and RandomAccessFile. They work just like DataInputStream, DataOutputStream and RandomAccessFile except they work with little-endian binary data. Normally Java binary I/O is done with big-endian data, with the most significant byte of an integer or float first. Intel and Windows 95 tend to work with little endian data in native files. LEDataInputStream, LEDataOutputstream and LERandomAccessFile will let you read and write such files. Source code provided. The java.nio (new I/O) package that is new with JDK1.4 has ByteBuffer and friends that support big and little endian. That way you don't need LEDataStream. LEDataStream is simpler. Version 1.6 just deprecates the readLine method in keeping with the deprecation of the underlying DataInput.readLine method. Why the egg icon? In Jonathan Swift's Gulliver's Travels, two countries fought over which end of the end was best to break it, the little or big end, mirroring the struggle between the users of little and big endian binary formats.

Changes: add pad and icon

Minimum requirements: Java 1.7+

Operating system: Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x64,WinXP

Program URL: http://mindprod.com/products1.html#LEDATASTREAM

LEDataStream screenshot

...

Special permissions

You may include LEDataStream CD compilation. You may not sell LEDataStream It is free.

EULA

This program is for non-military use only. For details on what that licencing restriction means and why I restricted this software that way, see http://mindprod.com/contact/nonmil.html If you incorporate any of my code in your programs, they too must be marked for non-military use only. However it is not your responsibility to enforce that restriction.

Read more