private int uint16FromData ( int offset ) { return twoBytesToInt ( Arrays . copyOfRange ( data ( ) , offset , offset + 2 ) , Constants . CC2540_BYTE_ORDER ) ; }
Parse a little - endian UInt16 from the data at the given offset .