update
This commit is contained in:
27
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/int.mjs
generated
vendored
Normal file
27
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/int.mjs
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
// Integer Utility
|
||||
export var UINT32_MAX = 4294967295;
|
||||
// DataView extension to handle int64 / uint64,
|
||||
// where the actual range is 53-bits integer (a.k.a. safe integer)
|
||||
export function setUint64(view, offset, value) {
|
||||
var high = value / 4294967296;
|
||||
var low = value; // high bits are truncated by DataView
|
||||
view.setUint32(offset, high);
|
||||
view.setUint32(offset + 4, low);
|
||||
}
|
||||
export function setInt64(view, offset, value) {
|
||||
var high = Math.floor(value / 4294967296);
|
||||
var low = value; // high bits are truncated by DataView
|
||||
view.setUint32(offset, high);
|
||||
view.setUint32(offset + 4, low);
|
||||
}
|
||||
export function getInt64(view, offset) {
|
||||
var high = view.getInt32(offset);
|
||||
var low = view.getUint32(offset + 4);
|
||||
return high * 4294967296 + low;
|
||||
}
|
||||
export function getUint64(view, offset) {
|
||||
var high = view.getUint32(offset);
|
||||
var low = view.getUint32(offset + 4);
|
||||
return high * 4294967296 + low;
|
||||
}
|
||||
//# sourceMappingURL=int.mjs.map
|
||||
1
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/int.mjs.map
generated
vendored
Normal file
1
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/int.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"int.mjs","sourceRoot":"","sources":["../../src/utils/int.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,MAAM,CAAC,IAAM,UAAU,GAAG,UAAW,CAAC;AAEtC,+CAA+C;AAC/C,kEAAkE;AAElE,MAAM,UAAU,SAAS,CAAC,IAAc,EAAE,MAAc,EAAE,KAAa;IACrE,IAAM,IAAI,GAAG,KAAK,GAAG,UAAa,CAAC;IACnC,IAAM,GAAG,GAAG,KAAK,CAAC,CAAC,sCAAsC;IACzD,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7B,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,IAAc,EAAE,MAAc,EAAE,KAAa;IACpE,IAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,UAAa,CAAC,CAAC;IAC/C,IAAM,GAAG,GAAG,KAAK,CAAC,CAAC,sCAAsC;IACzD,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7B,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,IAAc,EAAE,MAAc;IACrD,IAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnC,IAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACvC,OAAO,IAAI,GAAG,UAAa,GAAG,GAAG,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,IAAc,EAAE,MAAc;IACtD,IAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACpC,IAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACvC,OAAO,IAAI,GAAG,UAAa,GAAG,GAAG,CAAC;AACpC,CAAC"}
|
||||
4
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/prettyByte.mjs
generated
vendored
Normal file
4
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/prettyByte.mjs
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export function prettyByte(byte) {
|
||||
return "".concat(byte < 0 ? "-" : "", "0x").concat(Math.abs(byte).toString(16).padStart(2, "0"));
|
||||
}
|
||||
//# sourceMappingURL=prettyByte.mjs.map
|
||||
1
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/prettyByte.mjs.map
generated
vendored
Normal file
1
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/prettyByte.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"prettyByte.mjs","sourceRoot":"","sources":["../../src/utils/prettyByte.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,UAAU,CAAC,IAAY;IACrC,OAAO,UAAG,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,eAAK,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAE,CAAC;AACnF,CAAC"}
|
||||
92
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/stream.mjs
generated
vendored
Normal file
92
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/stream.mjs
generated
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
// utility for whatwg streams
|
||||
var __generator = (this && this.__generator) || function (thisArg, body) {
|
||||
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
||||
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
||||
function verb(n) { return function (v) { return step([n, v]); }; }
|
||||
function step(op) {
|
||||
if (f) throw new TypeError("Generator is already executing.");
|
||||
while (_) try {
|
||||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
||||
if (y = 0, t) op = [op[0] & 2, t.value];
|
||||
switch (op[0]) {
|
||||
case 0: case 1: t = op; break;
|
||||
case 4: _.label++; return { value: op[1], done: false };
|
||||
case 5: _.label++; y = op[1]; op = [0]; continue;
|
||||
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
||||
default:
|
||||
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
||||
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
||||
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
||||
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
||||
if (t[2]) _.ops.pop();
|
||||
_.trys.pop(); continue;
|
||||
}
|
||||
op = body.call(thisArg, _);
|
||||
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
||||
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
||||
}
|
||||
};
|
||||
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
||||
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
||||
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
||||
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
||||
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
||||
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
||||
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
||||
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
||||
function fulfill(value) { resume("next", value); }
|
||||
function reject(value) { resume("throw", value); }
|
||||
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
||||
};
|
||||
export function isAsyncIterable(object) {
|
||||
return object[Symbol.asyncIterator] != null;
|
||||
}
|
||||
function assertNonNull(value) {
|
||||
if (value == null) {
|
||||
throw new Error("Assertion Failure: value must not be null nor undefined");
|
||||
}
|
||||
}
|
||||
export function asyncIterableFromStream(stream) {
|
||||
return __asyncGenerator(this, arguments, function asyncIterableFromStream_1() {
|
||||
var reader, _a, done, value;
|
||||
return __generator(this, function (_b) {
|
||||
switch (_b.label) {
|
||||
case 0:
|
||||
reader = stream.getReader();
|
||||
_b.label = 1;
|
||||
case 1:
|
||||
_b.trys.push([1, , 9, 10]);
|
||||
_b.label = 2;
|
||||
case 2:
|
||||
if (!true) return [3 /*break*/, 8];
|
||||
return [4 /*yield*/, __await(reader.read())];
|
||||
case 3:
|
||||
_a = _b.sent(), done = _a.done, value = _a.value;
|
||||
if (!done) return [3 /*break*/, 5];
|
||||
return [4 /*yield*/, __await(void 0)];
|
||||
case 4: return [2 /*return*/, _b.sent()];
|
||||
case 5:
|
||||
assertNonNull(value);
|
||||
return [4 /*yield*/, __await(value)];
|
||||
case 6: return [4 /*yield*/, _b.sent()];
|
||||
case 7:
|
||||
_b.sent();
|
||||
return [3 /*break*/, 2];
|
||||
case 8: return [3 /*break*/, 10];
|
||||
case 9:
|
||||
reader.releaseLock();
|
||||
return [7 /*endfinally*/];
|
||||
case 10: return [2 /*return*/];
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
export function ensureAsyncIterable(streamLike) {
|
||||
if (isAsyncIterable(streamLike)) {
|
||||
return streamLike;
|
||||
}
|
||||
else {
|
||||
return asyncIterableFromStream(streamLike);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=stream.mjs.map
|
||||
1
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/stream.mjs.map
generated
vendored
Normal file
1
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/stream.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"stream.mjs","sourceRoot":"","sources":["../../src/utils/stream.ts"],"names":[],"mappings":"AAAA,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQ7B,MAAM,UAAU,eAAe,CAAI,MAA6B;IAC9D,OAAQ,MAAc,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC;AACvD,CAAC;AAED,SAAS,aAAa,CAAI,KAA2B;IACnD,IAAI,KAAK,IAAI,IAAI,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAC;KAC5E;AACH,CAAC;AAED,MAAM,UAAiB,uBAAuB,CAAI,MAAyB;;;;;;oBACnE,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;;;;;;yBAGzB,IAAI;oBACe,6BAAM,MAAM,CAAC,IAAI,EAAE,GAAA;;oBAArC,KAAkB,SAAmB,EAAnC,IAAI,UAAA,EAAE,KAAK,WAAA;yBACf,IAAI,EAAJ,wBAAI;;wBACN,iCAAO;;oBAET,aAAa,CAAC,KAAK,CAAC,CAAC;iDACf,KAAK;wBAAX,gCAAW;;oBAAX,SAAW,CAAC;;;;oBAGd,MAAM,CAAC,WAAW,EAAE,CAAC;;;;;;CAExB;AAED,MAAM,UAAU,mBAAmB,CAAI,UAAiC;IACtE,IAAI,eAAe,CAAC,UAAU,CAAC,EAAE;QAC/B,OAAO,UAAU,CAAC;KACnB;SAAM;QACL,OAAO,uBAAuB,CAAC,UAAU,CAAC,CAAC;KAC5C;AACH,CAAC"}
|
||||
23
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/typedArrays.mjs
generated
vendored
Normal file
23
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/typedArrays.mjs
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
export function ensureUint8Array(buffer) {
|
||||
if (buffer instanceof Uint8Array) {
|
||||
return buffer;
|
||||
}
|
||||
else if (ArrayBuffer.isView(buffer)) {
|
||||
return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
||||
}
|
||||
else if (buffer instanceof ArrayBuffer) {
|
||||
return new Uint8Array(buffer);
|
||||
}
|
||||
else {
|
||||
// ArrayLike<number>
|
||||
return Uint8Array.from(buffer);
|
||||
}
|
||||
}
|
||||
export function createDataView(buffer) {
|
||||
if (buffer instanceof ArrayBuffer) {
|
||||
return new DataView(buffer);
|
||||
}
|
||||
var bufferView = ensureUint8Array(buffer);
|
||||
return new DataView(bufferView.buffer, bufferView.byteOffset, bufferView.byteLength);
|
||||
}
|
||||
//# sourceMappingURL=typedArrays.mjs.map
|
||||
1
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/typedArrays.mjs.map
generated
vendored
Normal file
1
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/typedArrays.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"typedArrays.mjs","sourceRoot":"","sources":["../../src/utils/typedArrays.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,gBAAgB,CAAC,MAAsE;IACrG,IAAI,MAAM,YAAY,UAAU,EAAE;QAChC,OAAO,MAAM,CAAC;KACf;SAAM,IAAI,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE;QACrC,OAAO,IAAI,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC;KAC5E;SAAM,IAAI,MAAM,YAAY,WAAW,EAAE;QACxC,OAAO,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;KAC/B;SAAM;QACL,oBAAoB;QACpB,OAAO,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAChC;AACH,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,MAAyD;IACtF,IAAI,MAAM,YAAY,WAAW,EAAE;QACjC,OAAO,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC;KAC7B;IAED,IAAM,UAAU,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAC5C,OAAO,IAAI,QAAQ,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;AACvF,CAAC"}
|
||||
160
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/utf8.mjs
generated
vendored
Normal file
160
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/utf8.mjs
generated
vendored
Normal file
@@ -0,0 +1,160 @@
|
||||
var _a, _b, _c;
|
||||
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
||||
import { UINT32_MAX } from "./int.mjs";
|
||||
var TEXT_ENCODING_AVAILABLE = (typeof process === "undefined" || ((_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a["TEXT_ENCODING"]) !== "never") &&
|
||||
typeof TextEncoder !== "undefined" &&
|
||||
typeof TextDecoder !== "undefined";
|
||||
export function utf8Count(str) {
|
||||
var strLength = str.length;
|
||||
var byteLength = 0;
|
||||
var pos = 0;
|
||||
while (pos < strLength) {
|
||||
var value = str.charCodeAt(pos++);
|
||||
if ((value & 0xffffff80) === 0) {
|
||||
// 1-byte
|
||||
byteLength++;
|
||||
continue;
|
||||
}
|
||||
else if ((value & 0xfffff800) === 0) {
|
||||
// 2-bytes
|
||||
byteLength += 2;
|
||||
}
|
||||
else {
|
||||
// handle surrogate pair
|
||||
if (value >= 0xd800 && value <= 0xdbff) {
|
||||
// high surrogate
|
||||
if (pos < strLength) {
|
||||
var extra = str.charCodeAt(pos);
|
||||
if ((extra & 0xfc00) === 0xdc00) {
|
||||
++pos;
|
||||
value = ((value & 0x3ff) << 10) + (extra & 0x3ff) + 0x10000;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((value & 0xffff0000) === 0) {
|
||||
// 3-byte
|
||||
byteLength += 3;
|
||||
}
|
||||
else {
|
||||
// 4-byte
|
||||
byteLength += 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
return byteLength;
|
||||
}
|
||||
export function utf8EncodeJs(str, output, outputOffset) {
|
||||
var strLength = str.length;
|
||||
var offset = outputOffset;
|
||||
var pos = 0;
|
||||
while (pos < strLength) {
|
||||
var value = str.charCodeAt(pos++);
|
||||
if ((value & 0xffffff80) === 0) {
|
||||
// 1-byte
|
||||
output[offset++] = value;
|
||||
continue;
|
||||
}
|
||||
else if ((value & 0xfffff800) === 0) {
|
||||
// 2-bytes
|
||||
output[offset++] = ((value >> 6) & 0x1f) | 0xc0;
|
||||
}
|
||||
else {
|
||||
// handle surrogate pair
|
||||
if (value >= 0xd800 && value <= 0xdbff) {
|
||||
// high surrogate
|
||||
if (pos < strLength) {
|
||||
var extra = str.charCodeAt(pos);
|
||||
if ((extra & 0xfc00) === 0xdc00) {
|
||||
++pos;
|
||||
value = ((value & 0x3ff) << 10) + (extra & 0x3ff) + 0x10000;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((value & 0xffff0000) === 0) {
|
||||
// 3-byte
|
||||
output[offset++] = ((value >> 12) & 0x0f) | 0xe0;
|
||||
output[offset++] = ((value >> 6) & 0x3f) | 0x80;
|
||||
}
|
||||
else {
|
||||
// 4-byte
|
||||
output[offset++] = ((value >> 18) & 0x07) | 0xf0;
|
||||
output[offset++] = ((value >> 12) & 0x3f) | 0x80;
|
||||
output[offset++] = ((value >> 6) & 0x3f) | 0x80;
|
||||
}
|
||||
}
|
||||
output[offset++] = (value & 0x3f) | 0x80;
|
||||
}
|
||||
}
|
||||
var sharedTextEncoder = TEXT_ENCODING_AVAILABLE ? new TextEncoder() : undefined;
|
||||
export var TEXT_ENCODER_THRESHOLD = !TEXT_ENCODING_AVAILABLE
|
||||
? UINT32_MAX
|
||||
: typeof process !== "undefined" && ((_b = process === null || process === void 0 ? void 0 : process.env) === null || _b === void 0 ? void 0 : _b["TEXT_ENCODING"]) !== "force"
|
||||
? 200
|
||||
: 0;
|
||||
function utf8EncodeTEencode(str, output, outputOffset) {
|
||||
output.set(sharedTextEncoder.encode(str), outputOffset);
|
||||
}
|
||||
function utf8EncodeTEencodeInto(str, output, outputOffset) {
|
||||
sharedTextEncoder.encodeInto(str, output.subarray(outputOffset));
|
||||
}
|
||||
export var utf8EncodeTE = (sharedTextEncoder === null || sharedTextEncoder === void 0 ? void 0 : sharedTextEncoder.encodeInto) ? utf8EncodeTEencodeInto : utf8EncodeTEencode;
|
||||
var CHUNK_SIZE = 4096;
|
||||
export function utf8DecodeJs(bytes, inputOffset, byteLength) {
|
||||
var offset = inputOffset;
|
||||
var end = offset + byteLength;
|
||||
var units = [];
|
||||
var result = "";
|
||||
while (offset < end) {
|
||||
var byte1 = bytes[offset++];
|
||||
if ((byte1 & 0x80) === 0) {
|
||||
// 1 byte
|
||||
units.push(byte1);
|
||||
}
|
||||
else if ((byte1 & 0xe0) === 0xc0) {
|
||||
// 2 bytes
|
||||
var byte2 = bytes[offset++] & 0x3f;
|
||||
units.push(((byte1 & 0x1f) << 6) | byte2);
|
||||
}
|
||||
else if ((byte1 & 0xf0) === 0xe0) {
|
||||
// 3 bytes
|
||||
var byte2 = bytes[offset++] & 0x3f;
|
||||
var byte3 = bytes[offset++] & 0x3f;
|
||||
units.push(((byte1 & 0x1f) << 12) | (byte2 << 6) | byte3);
|
||||
}
|
||||
else if ((byte1 & 0xf8) === 0xf0) {
|
||||
// 4 bytes
|
||||
var byte2 = bytes[offset++] & 0x3f;
|
||||
var byte3 = bytes[offset++] & 0x3f;
|
||||
var byte4 = bytes[offset++] & 0x3f;
|
||||
var unit = ((byte1 & 0x07) << 0x12) | (byte2 << 0x0c) | (byte3 << 0x06) | byte4;
|
||||
if (unit > 0xffff) {
|
||||
unit -= 0x10000;
|
||||
units.push(((unit >>> 10) & 0x3ff) | 0xd800);
|
||||
unit = 0xdc00 | (unit & 0x3ff);
|
||||
}
|
||||
units.push(unit);
|
||||
}
|
||||
else {
|
||||
units.push(byte1);
|
||||
}
|
||||
if (units.length >= CHUNK_SIZE) {
|
||||
result += String.fromCharCode.apply(String, units);
|
||||
units.length = 0;
|
||||
}
|
||||
}
|
||||
if (units.length > 0) {
|
||||
result += String.fromCharCode.apply(String, units);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
var sharedTextDecoder = TEXT_ENCODING_AVAILABLE ? new TextDecoder() : null;
|
||||
export var TEXT_DECODER_THRESHOLD = !TEXT_ENCODING_AVAILABLE
|
||||
? UINT32_MAX
|
||||
: typeof process !== "undefined" && ((_c = process === null || process === void 0 ? void 0 : process.env) === null || _c === void 0 ? void 0 : _c["TEXT_DECODER"]) !== "force"
|
||||
? 200
|
||||
: 0;
|
||||
export function utf8DecodeTD(bytes, inputOffset, byteLength) {
|
||||
var stringBytes = bytes.subarray(inputOffset, inputOffset + byteLength);
|
||||
return sharedTextDecoder.decode(stringBytes);
|
||||
}
|
||||
//# sourceMappingURL=utf8.mjs.map
|
||||
1
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/utf8.mjs.map
generated
vendored
Normal file
1
APP/nexus-remote/node_modules/@msgpack/msgpack/dist.es5+esm/utils/utf8.mjs.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user