ÿØÿà JFIF H H ÿÛ C GIF89;
| System: Linux srv913213 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 Current Path : /var/www/talentgenesis_admin_backend/node_modules/exceljs/lib/utils/ |
| Current File : /var/www/talentgenesis_admin_backend/node_modules/exceljs/lib/utils/shared-strings.js |
class SharedStrings {
constructor() {
this._values = [];
this._totalRefs = 0;
this._hash = Object.create(null);
}
get count() {
return this._values.length;
}
get values() {
return this._values;
}
get totalRefs() {
return this._totalRefs;
}
getString(index) {
return this._values[index];
}
add(value) {
let index = this._hash[value];
if (index === undefined) {
index = this._hash[value] = this._values.length;
this._values.push(value);
}
this._totalRefs++;
return index;
}
}
module.exports = SharedStrings;