first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/Reader';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/Reader"), exports);
//# sourceMappingURL=Reader.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Reader.js","sourceRoot":"","sources":["../../src/buffers/Reader.ts"],"names":[],"mappings":";;;AAAA,0EAAgD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/Slice';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/Slice"), exports);
//# sourceMappingURL=Slice.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Slice.js","sourceRoot":"","sources":["../../src/buffers/Slice.ts"],"names":[],"mappings":";;;AAAA,yEAA+C"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/StreamingOctetReader';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/StreamingOctetReader"), exports);
//# sourceMappingURL=StreamingOctetReader.js.map
@@ -0,0 +1 @@
{"version":3,"file":"StreamingOctetReader.js","sourceRoot":"","sources":["../../src/buffers/StreamingOctetReader.ts"],"names":[],"mappings":";;;AAAA,wFAA8D"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/StreamingReader';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/StreamingReader"), exports);
//# sourceMappingURL=StreamingReader.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"StreamingReader.js","sourceRoot":"","sources":["../../src/buffers/StreamingReader.ts"],"names":[],"mappings":";;;AAAA,mFAAyD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/Uint8ArrayCut';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/Uint8ArrayCut"), exports);
//# sourceMappingURL=Uint8ArrayCut.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Uint8ArrayCut.js","sourceRoot":"","sources":["../../src/buffers/Uint8ArrayCut.ts"],"names":[],"mappings":";;;AAAA,iFAAuD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/Writer';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/Writer"), exports);
//# sourceMappingURL=Writer.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Writer.js","sourceRoot":"","sources":["../../src/buffers/Writer.ts"],"names":[],"mappings":";;;AAAA,0EAAgD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/b';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/b"), exports);
//# sourceMappingURL=b.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"b.js","sourceRoot":"","sources":["../../src/buffers/b.ts"],"names":[],"mappings":";;;AAAA,qEAA2C"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/bufferToUint8Array';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/bufferToUint8Array"), exports);
//# sourceMappingURL=bufferToUint8Array.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"bufferToUint8Array.js","sourceRoot":"","sources":["../../src/buffers/bufferToUint8Array.ts"],"names":[],"mappings":";;;AAAA,sFAA4D"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/cmpUint8Array';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/cmpUint8Array"), exports);
//# sourceMappingURL=cmpUint8Array.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"cmpUint8Array.js","sourceRoot":"","sources":["../../src/buffers/cmpUint8Array.ts"],"names":[],"mappings":";;;AAAA,iFAAuD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/cmpUint8Array2';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/cmpUint8Array2"), exports);
//# sourceMappingURL=cmpUint8Array2.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"cmpUint8Array2.js","sourceRoot":"","sources":["../../src/buffers/cmpUint8Array2.ts"],"names":[],"mappings":";;;AAAA,kFAAwD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/cmpUint8Array3';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/cmpUint8Array3"), exports);
//# sourceMappingURL=cmpUint8Array3.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"cmpUint8Array3.js","sourceRoot":"","sources":["../../src/buffers/cmpUint8Array3.ts"],"names":[],"mappings":";;;AAAA,kFAAwD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/concat';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/concat"), exports);
//# sourceMappingURL=concat.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../src/buffers/concat.ts"],"names":[],"mappings":";;;AAAA,0EAAgD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/copy';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/copy"), exports);
//# sourceMappingURL=copy.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"copy.js","sourceRoot":"","sources":["../../src/buffers/copy.ts"],"names":[],"mappings":";;;AAAA,wEAA8C"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/f16';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/f16"), exports);
//# sourceMappingURL=f16.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"f16.js","sourceRoot":"","sources":["../../src/buffers/f16.ts"],"names":[],"mappings":";;;AAAA,uEAA6C"}
+1
View File
@@ -0,0 +1 @@
export * from './types';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./types"), exports);
//# sourceMappingURL=index.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/buffers/index.ts"],"names":[],"mappings":";;;AAAA,kDAAwB"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/isArrayBuffer';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/isArrayBuffer"), exports);
//# sourceMappingURL=isArrayBuffer.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"isArrayBuffer.js","sourceRoot":"","sources":["../../src/buffers/isArrayBuffer.ts"],"names":[],"mappings":";;;AAAA,iFAAuD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/isFloat32';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/isFloat32"), exports);
//# sourceMappingURL=isFloat32.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"isFloat32.js","sourceRoot":"","sources":["../../src/buffers/isFloat32.ts"],"names":[],"mappings":";;;AAAA,6EAAmD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/isUint8Array';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/isUint8Array"), exports);
//# sourceMappingURL=isUint8Array.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"isUint8Array.js","sourceRoot":"","sources":["../../src/buffers/isUint8Array.ts"],"names":[],"mappings":";;;AAAA,gFAAsD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/printOctets';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/printOctets"), exports);
//# sourceMappingURL=printOctets.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"printOctets.js","sourceRoot":"","sources":["../../src/buffers/printOctets.ts"],"names":[],"mappings":";;;AAAA,+EAAqD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/strings';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/strings"), exports);
//# sourceMappingURL=strings.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"strings.js","sourceRoot":"","sources":["../../src/buffers/strings.ts"],"names":[],"mappings":";;;AAAA,2EAAiD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/toBuf';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/toBuf"), exports);
//# sourceMappingURL=toBuf.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"toBuf.js","sourceRoot":"","sources":["../../src/buffers/toBuf.ts"],"names":[],"mappings":";;;AAAA,yEAA+C"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/toUint8Array';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/toUint8Array"), exports);
//# sourceMappingURL=toUint8Array.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"toUint8Array.js","sourceRoot":"","sources":["../../src/buffers/toUint8Array.ts"],"names":[],"mappings":";;;AAAA,gFAAsD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/types';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/types"), exports);
//# sourceMappingURL=types.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/buffers/types.ts"],"names":[],"mappings":";;;AAAA,yEAA+C"}
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/utf8/CachedUtf8Decoder';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/utf8/CachedUtf8Decoder"), exports);
//# sourceMappingURL=CachedUtf8Decoder.js.map
@@ -0,0 +1 @@
{"version":3,"file":"CachedUtf8Decoder.js","sourceRoot":"","sources":["../../../src/buffers/utf8/CachedUtf8Decoder.ts"],"names":[],"mappings":";;;AAAA,0FAAgE"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/utf8/decodeAscii';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/utf8/decodeAscii"), exports);
//# sourceMappingURL=decodeAscii.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"decodeAscii.js","sourceRoot":"","sources":["../../../src/buffers/utf8/decodeAscii.ts"],"names":[],"mappings":";;;AAAA,oFAA0D"}
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/utf8/decodeUtf8';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/utf8/decodeUtf8"), exports);
//# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/buffers/utf8/decodeUtf8/index.ts"],"names":[],"mappings":";;;AAAA,mFAAyD"}
+1
View File
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/utf8/encode';
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/utf8/encode"), exports);
//# sourceMappingURL=encode.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"encode.js","sourceRoot":"","sources":["../../../src/buffers/utf8/encode.ts"],"names":[],"mappings":";;;AAAA,+EAAqD"}
+2
View File
@@ -0,0 +1,2 @@
export * from '@jsonjoy.com/buffers/lib/utf8/isUtf8';
export declare const isUtf8: (buf: Uint8Array, from: number, length: number) => boolean;
+45
View File
@@ -0,0 +1,45 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isUtf8 = void 0;
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/utf8/isUtf8"), exports);
const isUtf8 = (buf, from, length) => {
const to = from + length;
while (from < to) {
const c = buf[from];
if (c <= 0x7f) {
from++;
continue;
}
if (c >= 0xc2 && c <= 0xdf) {
if (buf[from + 1] >> 6 === 2) {
from += 2;
continue;
}
else
return false;
}
const c1 = buf[from + 1];
if (((c === 0xe0 && c1 >= 0xa0 && c1 <= 0xbf) || (c === 0xed && c1 >= 0x80 && c1 <= 0x9f)) &&
buf[from + 2] >> 6 === 2) {
from += 3;
continue;
}
if (((c >= 0xe1 && c <= 0xec) || (c >= 0xee && c <= 0xef)) && c1 >> 6 === 2 && buf[from + 2] >> 6 === 2) {
from += 3;
continue;
}
if (((c === 0xf0 && c1 >= 0x90 && c1 <= 0xbf) ||
(c >= 0xf1 && c <= 0xf3 && c1 >> 6 === 2) ||
(c === 0xf4 && c1 >= 0x80 && c1 <= 0x8f)) &&
buf[from + 2] >> 6 === 2 &&
buf[from + 3] >> 6 === 2) {
from += 4;
continue;
}
return false;
}
return true;
};
exports.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I,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxG,IAAI,IAAI,CAAC,CAAC;YACV,SAAS;QACX,CAAC;QACD,IACE,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,IAAI,IAAI,CAAC;YACvC,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;YACzC,CAAC,CAAC,KAAK,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,IAAI,IAAI,CAAC,CAAC;YAC3C,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;YACxB,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACxB,CAAC;YACD,IAAI,IAAI,CAAC,CAAC;YACV,SAAS;QACX,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAvCW,QAAA,MAAM,UAuCjB"}
@@ -0,0 +1 @@
export * from '@jsonjoy.com/buffers/lib/utf8/sharedCachedUtf8Decoder';
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@jsonjoy.com/buffers/lib/utf8/sharedCachedUtf8Decoder"), exports);
//# sourceMappingURL=sharedCachedUtf8Decoder.js.map
@@ -0,0 +1 @@
{"version":3,"file":"sharedCachedUtf8Decoder.js","sourceRoot":"","sources":["../../../src/buffers/utf8/sharedCachedUtf8Decoder.ts"],"names":[],"mappings":";;;AAAA,gGAAsE"}