mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-06 20:00:56 +01:00
12 lines
237 B
JavaScript
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);
|
|
}
|