question: short readShort ( ) throws IOException { mDexFile . readFully ( tmpBuf , 0 , 2 ) ; if ( isBigEndian ) { return ( short ) ( ( tmpBuf [ 1 ] & 0xff ) | ( ( tmpBuf [ 0 ] & 0xff ) << 8 ) ) ; } else { return ( short ) ( ( tmpBuf [ 0 ] & 0xff ) | ( ( tmpBuf [ 1 ] & 0xff ) << 8 ) ) ; } }
target:  Reads a signed 16-bit integer, byte-swapping if necessary.