int flags = 0;
int[] arrayIdx = new int[0];
int varIdx = -1;
while ((tlv = readTLV(InternalTypes.flags)) != null) {
final ExecutableInputStream ex = new ExecutableInputStream(new ByteArrayInputStream(tlv.value));
final InternalTypes it = (InternalTypes) tlv.type;
switch (it) {
case varIdx:
varIdx = ex.readVarInt();
break;
case bitEnd: