关于位移不太懂
在JDK中复制这一段程序: public final short readShort() throws IOException {
int ch1 = in.read();
int ch2 = in.read();
if ((ch1 | ch2) < 0)
throw new EOFException();
return (short)((ch1 << 8) + (ch2 << 0));
}
最后一句: return (short)((ch1 << 8) + (ch2 << 0));中的(ch1 << 8) + (ch2 << 0)是二进制形式吗?