public static int getUInt16 ( byte [ ] src , int offset ) { final int v0 = src [ offset + 0 ] & 0xFF ; final int v1 = src [ offset + 1 ] & 0xFF ; return ( ( v1 << 8 ) | v0 ) ; }
Gets a 16 - bit unsigned integer from the given byte array at the given offset .