public SectionHeader(FileStream file, long address) { this._imageSectionHeader = (PEStream.IMAGE_SECTION_HEADER)PEStream.PEComponent.ReadData(file, address, this._imageSectionHeader.GetType()); base._address = address; base._size = base.CalculateSize(this._imageSectionHeader); base._data = this._imageSectionHeader; }
public SectionHeader(FileStream file, long address) { this._imageSectionHeader = (PEStream.IMAGE_SECTION_HEADER) PEStream.PEComponent.ReadData(file, address, this._imageSectionHeader.GetType()); base._address = address; base._size = base.CalculateSize(this._imageSectionHeader); base._data = this._imageSectionHeader; }