Exemple #1
0
        private void ReadResourceFixup(DataBlock block, uint offset)
        {
            SeekToOffset(block, offset);
            var index = new DatumIndex(_reader.ReadUInt32());

            if (index.IsValid)
            {
                var fixup = new DataBlockResourceFixup(index, (int)offset);
                block.ResourceFixups.Add(fixup);
                ReferencedResources.Add(index);
            }
        }
		private void ReadResourceFixup(DataBlock block, uint offset)
		{
			SeekToOffset(block, offset);
			var index = new DatumIndex(_reader.ReadUInt32());
			if (!index.IsValid) return;

			var fixup = new DataBlockResourceFixup(index, (int) offset);
			block.ResourceFixups.Add(fixup);
			ReferencedResources.Add(index);
		}