public DefineFontNameTag(HeaderRecord header, FlashReader input)
     : base(header)
 {
     Id        = input.ReadUInt16();
     Name      = input.ReadNullString();
     Copyright = input.ReadNullString();
 }
Пример #2
0
        public DoABCTag(HeaderRecord header, FlashReader input)
            : base(header)
        {
            Flags = input.ReadUInt32();
            Name  = input.ReadNullString();

            int partialLength = (Encoding.UTF8.GetByteCount(Name) + 5);

            ABCData = input.ReadBytes(header.Length - partialLength);
        }
Пример #3
0
        public ExportAssetsTag(HeaderRecord header, FlashReader input)
            : base(header)
        {
            ushort assetCount = input.ReadUInt16();

            Ids   = new List <ushort>(assetCount);
            Names = new List <string>(assetCount);
            for (int i = 0; i < assetCount; i++)
            {
                Ids.Add(input.ReadUInt16());
                Names.Add(input.ReadNullString());
            }
        }
Пример #4
0
        public SymbolClassTag(HeaderRecord header, FlashReader input)
            : base(header)
        {
            ushort symbolCount = input.ReadUInt16();

            Ids   = new List <ushort>(symbolCount);
            Names = new List <string>(symbolCount);

            for (int i = 0; i < symbolCount; i++)
            {
                Ids.Add(input.ReadUInt16());
                Names.Add(input.ReadNullString());
            }
        }
Пример #5
0
        public SymbolClassTag(HeaderRecord header, FlashReader input)
            : base(header)
        {
            var symbolCount = input.ReadUInt16();

            Entries = new List <Tuple <ushort, string> >();

            for (var i = 0; i < symbolCount; i++)
            {
                var id   = input.ReadUInt16();
                var name = input.ReadNullString();

                Entries.Add(new Tuple <ushort, string>(id, name));
            }
        }
Пример #6
0
 public FrameLabelTag(HeaderRecord header, FlashReader input)
     : base(header)
 {
     Name = input.ReadNullString();
 }
Пример #7
0
 public MetadataTag(HeaderRecord header, FlashReader input)
     : base(header)
 {
     Metadata = input.ReadNullString();
 }