public override void Decode()
        {
            base.Decode();

            this.m_streamEntry = StreamEntryFactory.CreateStreamEntryByType((StreamEntryType)this.m_stream.ReadInt());
            this.m_streamEntry.Decode(this.m_stream);
        }
示例#2
0
        public override void Decode()
        {
            base.Decode();

            int arraySize = this.m_stream.ReadInt();

            if (arraySize > 0)
            {
                this.m_streamEntryList = new LogicArrayList <StreamEntry>(arraySize);

                do
                {
                    StreamEntry streamEntry = StreamEntryFactory.CreateStreamEntryByType((StreamEntryType)this.m_stream.ReadInt());
                    streamEntry.Decode(this.m_stream);
                    this.m_streamEntryList.Add(streamEntry);
                } while (--arraySize > 0);
            }
        }
 public void SetStreamEntry(StreamEntry value)
 {
     this.m_streamEntry = value;
 }
 public override void Destruct()
 {
     base.Destruct();
     this.m_streamEntry = null;
 }