public short readLEShort() throws IOException {
  int byte1=in.read();
  int byte2=in.read();
  if (byte2 == -1)   throw new EOFException();
  return (short)((byte2 << 8) + byte1);
}

public short readLEShort ( ) throws IOException { int byte1 = in . read ( ) ; int byte2 = in . read ( ) ; if ( byte2 == - 1 ) throw new EOFException ( ) ; return ( short ) ( ( byte2 << 8 ) + byte1 ) ; }
translates little endian short to big endian short
