Files
starface-outlook-sync-addin/node_modules/@jsonjoy.com/buffers/lib/Slice.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

19 lines
460 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Slice = void 0;
/**
* @deprecated Use {@link Reader} instead.
*/
class Slice {
constructor(uint8, view, start, end) {
this.uint8 = uint8;
this.view = view;
this.start = start;
this.end = end;
}
subarray() {
return this.uint8.subarray(this.start, this.end);
}
}
exports.Slice = Slice;
//# sourceMappingURL=Slice.js.map