Esempio n. 1
0
        public override void Decode()
        {
            MemoryStream memoryStream = new MemoryStream(this.Data);

            this.SubRecords.Clear();
            while (memoryStream.Position < (long)((ulong)this.Size))
            {
                SubRecord subRecord = SubRecord.Read(memoryStream);
                subRecord.Decode();
                this.SubRecords.Add(subRecord);
            }
        }
Esempio n. 2
0
        public override void Decode()
        {
            MemoryStream stream = new MemoryStream(Data);

            SubRecords.Clear();
            while (stream.Position < Size)
            {
                SubRecord subRecord = SubRecord.Read(stream);
                subRecord.Decode();
                SubRecords.Add(subRecord);
            }
        }