if (!discard) {
for (int i = 0; i < values.length; i++) {
values[i] = Utils.byte2int(aFrame.readByte());
int length = (dataLength + 7) / 8;
dataObjects[i] = new DataObject(group, variation,
aFrame.readBytes(length));
}
dataMap.set(group, variation, values, dataObjects,
qualField);
} else {
dataLength *= -1;
int numBytes = (dataLength / 8) * values.length
+ values.length;
aFrame.readBytes(numBytes);
}
}
break;
case INDEXES_16: {
int[] values = new int[(Utils.byte2int(aFrame.readByte()) + ((aFrame
.readByte() << 8) & 0xFF00))];
DataObject[] dataObjects = new DataObject[values.length];
if (!discard) {
for (int i = 0; i < values.length; i++) {
values[i] = (Utils.byte2int(aFrame.readByte()) + ((aFrame
.readByte() << 8) & 0xFF00));
int length = (dataLength + 7) / 8;
dataObjects[i] = new DataObject(group, variation,
aFrame.readBytes(length));
}
dataMap.set(group, variation, values, dataObjects,
qualField);