function interpretUnicodeCodePoint(deviceIdElements, interpretedPacket,
                                   isElided) {
  let codePoint = null;

  if(!isElided && (deviceIdElements.length === 3)) {
    codePoint = parseInt(deviceIdElements[1] + deviceIdElements[2], 16);
  }
  else if(isElided && (deviceIdElements.length === 2)) {
    codePoint = parseInt(deviceIdElements[1].substring(4), 16);
  }

  if(codePoint) {
    if(!Array.isArray(interpretedPacket.unicodeCodePoints)) {
      interpretedPacket.unicodeCodePoints = [];
    }
    interpretedPacket.unicodeCodePoints.push(codePoint);
  }
}
/**
 * Interpret the unicode code point data.
 * @param {Array} deviceIdElements The elements of the device identifier.
 * @param {Object} interpretedPacket The partially-interpreted packet.
 * @param {Boolean} isElided Whether the UUID is elided or not.
 */
Interpret the unicode code point data.
@param {Array} deviceIdElements The elements of the device identifier.
@param {Object} interpretedPacket The partially-interpreted packet.
@param {Boolean} isElided Whether the UUID is elided or not.
Interpret the unicode code point data . @param { Array } deviceIdElements The elements of the device identifier . @param { Object } interpretedPacket The partially - interpreted packet . @param { Boolean } isElided Whether the UUID is elided or not .
function interpretUnicodeCodePoint(deviceIdElements, interpretedPacket,
                                   isElided) {
  let codePoint = null;
  if(!isElided && (deviceIdElements.length === 3)) {
    codePoint = parseInt(deviceIdElements[1] + deviceIdElements[2], 16);
  }
  else if(isElided && (deviceIdElements.length === 2)) {
    codePoint = parseInt(deviceIdElements[1].substring(4), 16);
  }
  if(codePoint) {
    if(!Array.isArray(interpretedPacket.unicodeCodePoints)) {
      interpretedPacket.unicodeCodePoints = [];
    }
    interpretedPacket.unicodeCodePoints.push(codePoint);
  }
}
function interpretUnicodeCodePoint ( deviceIdElements , interpretedPacket , isElided ) { let codePoint = null ; if ( ! isElided && ( deviceIdElements . length === 3 ) ) { codePoint = parseInt ( deviceIdElements [ 1 ] + deviceIdElements [ 2 ] , 16 ) ; } else if ( isElided && ( deviceIdElements . length === 2 ) ) { codePoint = parseInt ( deviceIdElements [ 1 ] . substring ( 4 ) , 16 ) ; } if ( codePoint ) { if ( ! Array . isArray ( interpretedPacket . unicodeCodePoints ) ) { interpretedPacket . unicodeCodePoints = [ ] ; } interpretedPacket . unicodeCodePoints . push ( codePoint ) ; } }
Interpret the unicode code point data.
Interpret the unicode code point data .