"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapArrayBuffer = wrapArrayBuffer;
const _1 = require("../Class/$");
function wrapArrayBuffer(arrayBuffer, system) {
    const _array = new (class Array extends _1.$ {
        constructor() {
            super(...arguments);
            this.__ = ['AB'];
        }
        async arrayBuffer() {
            return arrayBuffer;
        }
        raw() {
            return arrayBuffer;
        }
    })(system);
    return _array;
}
//# sourceMappingURL=ArrayBuffer.js.map