Exemple #1
0
        public MDGUIDHeap(BinaryReader reader, long offs, long size, string name) : base()
        {
            reader.BaseStream.Position = offs;
            Start  = offs;
            Length = size;
            _name  = name;

            while (reader.BaseStream.Position < offs + size)
            {
                int    reloffs = (int)(reader.BaseStream.Position - offs);
                MDGUID mdg     = new MDGUID(reader);
                _data.Add(reloffs, mdg);
            }
        }
		public MDGUIDHeap(BinaryReader reader, long offs, long size, string name) : base()
		{
			reader.BaseStream.Position = offs;
			Start = offs;
			Length = size;
			_name = name;

			while (reader.BaseStream.Position < offs + size)
			{
				int reloffs = (int)(reader.BaseStream.Position - offs);
				MDGUID mdg = new MDGUID(reader);
				_data.Add(reloffs, mdg);
			}
		}