public int[] getInts(String privateCreator, int tag, VR vr) {
int index = indexOf(privateCreator, tag);
if (index < 0)
return null;
Object value = values[index];
if (value == Value.NULL)
return ByteUtils.EMPTY_INTS;
if (vr == null)
vr = vrs[index];
else
updateVR(index, vr);
try {
value = loadBulkData(index);
if (vr == VR.IS)
value = decodeISValue(index);
return vr.toInts(value, bigEndian);
} catch (UnsupportedOperationException e) {
LOG.info("Attempt to access {} {} as int", TagUtils.toString(tag), vr);
return null;
} catch (IllegalArgumentException e) {
LOG.info("Invalid value of {} {}", TagUtils.toString(tag), vr);
return null;
}
}