node-ejs-renderer/node_modules/@jsonjoy.com/util/lib/buffers/Slice.js
2024-06-09 13:55:01 -04:00

16 lines
409 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Slice = void 0;
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