Пример #1
0
 public override void WriteTo(FlashWriter output)
 {
     output.WriteInt30(NameIndex);
     output.WriteInt30(Items.Count);
     for (int i = 0; i < Items.Count; i++)
     {
         ASItemInfo item = Items[i];
         item.WriteTo(output);
     }
 }
Пример #2
0
 public ASMetadata(ABCFile abc, FlashReader input)
     : this(abc)
 {
     NameIndex      = input.ReadInt30();
     Items.Capacity = input.ReadInt30();
     for (int i = 0; i < Items.Capacity; i++)
     {
         var itemInfo = new ASItemInfo(abc, input);
         Items.Add(itemInfo);
     }
 }