code: public static short readShortBigEndian(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 (short)(i | (value << 8));
  	}
docs: big-endian or motorola format.