code: public static int readUnsignedShortLittleEndian(InputStream io) throws IOException {
  		int value = io.read();
  		if (value < 0) throw new EOFException();
  		int i = io.read();
  		if (i < 0) throw new EOFException();
  		return value | (i << 8);
  	}
docs: little-endian or intel format.