code: private int uint16FromData(int offset) {
          return twoBytesToInt(
                  Arrays.copyOfRange(data(), offset, offset + 2),
                  Constants.CC2540_BYTE_ORDER
          );
      }
docs: Parse a little-endian UInt16 from the data at the given offset.
  
  @param offset    The offset at which to parse data
  @return          The Java int representation of the parsed bytes