xiot-core-spec-ts
Version:
XIOT Specification Codec
19 lines (18 loc) • 631 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PropertyImageCodec = void 0;
const PropertyImage_1 = require("../../typedef/image/PropertyImage");
const PropertyCodec_1 = require("../instance/PropertyCodec");
class PropertyImageCodec {
static decodeArray(array) {
const list = [];
if (array != null) {
for (const o of array) {
const p = PropertyImage_1.PropertyImage.copy(PropertyCodec_1.PropertyCodec.decode(o));
list.push(p);
}
}
return list;
}
}
exports.PropertyImageCodec = PropertyImageCodec;