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);
            }
        }