Oliver Jowett wrote:> This is not true if you happen to be using Java on the client side,> which has no idea (unless
yougrot around in the guts of the JVM) what> the native byte order is.>
The method java.nio.ByteOrder.nativeOrder() will tell you what the
native byte order is.
> This actually means that Java clients have the> opposite problem -- it's a lot of work to try to use the 7.3-style>
binaryformats.>
The commonly used java.io.DataInput will always use network order but
it's easy enough to read/write little endian using the java.nio and
java.nio.channel packages.
Regards,
Thomas Hallgren