"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../../../../Class/Functional");
const _ids_1 = require("../../../../../../_ids");
class Set0 extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['array', 'data', 'offset'],
            o: [],
        }, {
            input: {
                array: {
                    ref: true,
                },
                data: {
                    ref: true,
                },
            },
        }, system, _ids_1.ID_SET_0);
    }
    f({ array, data, offset }, done) {
        const data_ = data.raw();
        array.set(data_, offset);
        done();
    }
}
exports.default = Set0;
//# sourceMappingURL=index.js.map