static private int readBitsForS16 ( int [ ] in , final int inIntOffset , final int inWithIntOffset , final int bits ) { final int val = ( in [ inIntOffset ] >>> inWithIntOffset ) ; return val & ( 0xffffffff >>> ( 32 - bits ) ) ; }
Read a certain number of bits of a integer on the input array