rbxts-pako/lib/zlib/utils.js
2014-02-03 18:51:49 +04:00

12 lines
237 B
JavaScript

'use strict';
exports.arraySet = function(dest, src, src_offs, len, dest_offs) {
for(var i=0; i<len; i++) {
dest[dest_offs + i] = src[src_offs + i];
}
}
exports.arrayCreate = function(length) {
return new Array(length);
}