public final void writeInt(int v) throws IOException {out.write((v >>> 24) & 0xFF);out.write((v >>> 16) & 0xFF);out.write((v >>> 8) & 0xFF);out.write((v >>> 0) & 0xFF);incCount(4);}为什么右移后要&0xFF?
为了只用int的最后8位