function bytesToNibbles(s, byteLen) {
    let /** @type{!Int8Array} */ byteBuffer = s.byteBuffer;
    let /** @type{number} */ halfLen = byteLen >> 1;
    let /** @type{!Int16Array} */ shortBuffer = s.shortBuffer;
    for (let /** @type{number} */ i = 0; i < halfLen; ++i) {
      shortBuffer[i] = ((byteBuffer[i * 2] & 0xFF) | ((byteBuffer[(i * 2) + 1] & 0xFF) << 8));
    }
  }
@param {!State} s
@param {number} byteLen
@return {void}