public static short readShort ( ArrayView source , int position ) { return ( short ) ( ( source . get ( position ) & 0xFF ) << 8 | ( source . get ( position + 1 ) & 0xFF ) ) ; }
Reads a 16 - bit Short from the given ArrayView starting at the given position .