Example #1
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is DefineBits))
            {
                DefineBits defineBits = (DefineBits)object_Renamed;

                if (ArrayUtil.equals(defineBits.data, this.data) && equals(defineBits.jpegTables, this.jpegTables))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
		public override void  defineBitsJPEG2(DefineBits tag)
		{
			tags.Add(tag);
		}
		public virtual void  defineBits(DefineBits tag)
		{
		}
		public virtual void  defineBitsJPEG2(DefineBits tag)
		{
		}
		private Tag decodeDefineBits(int length)
		{
			DefineBits t;
			t = new DefineBits(Flash.Swf.TagValues.stagDefineBits);
			int pos = r.Offset;
			int id = r.readUI16();
			length -= (r.Offset - pos);
			t.data = new byte[length];
			r.readFully(t.data);
			t.jpegTables = jpegTables;
			dict.add(id, t);
			return t;
		}