internal void putShortMSB(int b){ pending_buf[pending++]=(byte)(b>>8); pending_buf[pending++]=(byte)(b/*&0xff*/); }