ion() { 
var h = "30140412020101020102800103810104020105020106";
equal(ASN1HEX.getIdxbyListEx(h, 0, [0,1]), 14, "[0,1]=14");
equal(ASN1HEX.getIdxbyListEx(h, 0, [0,"[0]"]), 20, "[0,[0]]=20"); // context tag
equal(ASN1HEX.getIdxbyListEx(h, 0, [0,"[1]"]), 26, "[0,[1]]=26"); // context tag
equal(ASN1HEX.getIdxbyListEx(h, 0, [0,2]), 32, "[0,2]=32"); // skip context tag
equal(ASN1HEX.getIdxbyListEx(h, 0, [0,3]), 38, "[0,3]=38"); // skip context tag
});

/*
3015 seq idx=0
  031300 bitstr idx=4
    020101 int:1 idx