Ejemplo n.º 1
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is DoABC))
            {
                DoABC doABC = (DoABC)object_Renamed;

                if (equals(doABC.abc, this.abc) && equals(doABC.name, this.name) && doABC.flag == this.flag)
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
Ejemplo n.º 2
0
		public virtual void  doABC(DoABC tag)
		{
		}
Ejemplo n.º 3
0
		private Tag decodeDoABC(int type, int length)
		{
			DoABC t;
			
			if (type == Flash.Swf.TagValues.stagDoABC2)
			{
				int pos = r.Offset;
				int skip = r.readSI32();
				String name = r.readString();
				t = new DoABC(name, skip);
				// cannot just use length of string, because might not match
				// the number of bytes in the string for nonascii characters
				//length -= (4 + name.length() + 1);
				length -= (r.Offset - pos);
			}
			else
			{
				t = new DoABC();
			}
			
			t.abc = new byte[length];
			r.readFully(t.abc);
			return t;
		}