I ask because I am sending a byte stream from a C process to Java. On the C side the 32 bit integer has the LSB is the first byte and MSB is the 4th byte.
So my ques
If it fits the protocol you use, consider using a DataInputStream, where the behavior is very well defined.