public ResourceData(FileStream file, long rootResourceAddress, long address, long addressDelta) { this._resourceDataEntry = (PEStream.IMAGE_RESOURCE_DATA_ENTRY)PEStream.PEComponent.ReadData(file, address, this._resourceDataEntry.GetType()); this._resourceRawData = new PEStream.ResourceRawData(file, this._resourceDataEntry.OffsetToData - addressDelta, (long)this._resourceDataEntry.Size); base._address = address; base._size = base.CalculateSize(this._resourceDataEntry); base._data = this._resourceDataEntry; }
public ResourceData(FileStream file, long rootResourceAddress, long address, long addressDelta) { this._resourceDataEntry = (PEStream.IMAGE_RESOURCE_DATA_ENTRY) PEStream.PEComponent.ReadData(file, address, this._resourceDataEntry.GetType()); this._resourceRawData = new PEStream.ResourceRawData(file, this._resourceDataEntry.OffsetToData - addressDelta, (long) this._resourceDataEntry.Size); base._address = address; base._size = base.CalculateSize(this._resourceDataEntry); base._data = this._resourceDataEntry; }