Exemplo n.º 1
0
        public static void ReadToLineStylesRGB(this ISwfStreamReader reader, IList <LineStyleRGB> lineStyles, bool allowBigArray)
        {
            ushort cnt = reader.ReadByte();

            if (allowBigArray && cnt == 255)
            {
                cnt = reader.ReadUInt16();
            }
            for (var i = 0; i < cnt; i++)
            {
                lineStyles.Add(reader.ReadLineStyleRGB());
            }
        }