public virtual ClipActions decodeClipActions(int length)
        {
            ClipActions a = new ClipActions();

            reader.readUI16();             // must be 0
            a.allEventFlags = decodeClipEventFlags(reader);

            System.Collections.ArrayList list = new System.Collections.ArrayList();

            ClipActionRecord record = decodeClipActionRecord();

            while (record != null)
            {
                list.Add(record);
                record = decodeClipActionRecord();
            }

            a.clipActionRecords = list;

            return(a);
        }
		public virtual ClipActions decodeClipActions(int length)
		{
			ClipActions a = new ClipActions();
			reader.readUI16(); // must be 0
			a.allEventFlags = decodeClipEventFlags(reader);
			
			System.Collections.ArrayList list = new System.Collections.ArrayList();
			
			ClipActionRecord record = decodeClipActionRecord();
			while (record != null)
			{
				list.Add(record);
				record = decodeClipActionRecord();
			}
			
			a.clipActionRecords = list;
			
			return a;
		}