@tjieco/library
Version:
TypeScript port of ZXing multi-format 1D/2D barcode image processing library, with Code128 and ITF support.
22 lines (21 loc) • 624 B
JavaScript
;
exports.__esModule = true;
var System = /** @class */ (function () {
function System() {
}
// public static void arraycopy(Object src, int srcPos, Object dest, int destPos, int length)
System.arraycopy = function (src, srcPos, dest, destPos, length) {
// TODO: better use split or set?
var i = srcPos;
var j = destPos;
var c = length;
while (c--) {
dest[j++] = src[i++];
}
};
System.currentTimeMillis = function () {
return Date.now();
};
return System;
}());
exports["default"] = System;