예제 #1
0
 public TableOfAuthorityEntry(WP6Document doc, int index)
     : base(doc, index)
 {
     if (flags.HasFlag(flagsByte.prefixID))
     {
         TOAPacket     = new TableOfAuthoritiesMarkPacket(doc, prefixIds[0]);
         shortFormName = TOAPacket.shortFormName;
     }
     else
     {
         shortFormName = UtilityMethods.getWPWordString(doc.data, _startIndex, _startIndex + size - 1);
     }
 }
예제 #2
0
 public TableOfAuthorityEntry(WP6Document doc, int index)
     : base(doc, index)
 {
     if (flags.HasFlag(flagsByte.prefixID))
        {
        TOAPacket = new TableOfAuthoritiesMarkPacket(doc, prefixIds[0]);
        shortFormName = TOAPacket.shortFormName;
        }
        else
        {
        shortFormName = UtilityMethods.getWPWordString(doc.data, _startIndex, _startIndex + size - 1);
        }
 }