# Interface: com.pnfsoftware.jeb.core.units.codeobject.IPEOptionalHeader

This interface describes the principal header a PE executable file. 

 Reference: https://msdn.microsoft.com/en\-us/library/windows/desktop/ms680547\(v=vs.85\).aspx

## Method: getAddressOfEntryPoint
- return type: `long`


## Method: getBaseOfCode
- return type: `long`


## Method: getBaseOfData
- return type: `long`


## Method: getCheckSum
- return type: `int`


## Method: getDataDirectory
- return type: `com.pnfsoftware.jeb.core.units.codeobject.IPEDataDirectory[]`


## Method: getDllCharacteristics
- return type: `short`


## Method: getFileAlignment
- return type: `int`


## Method: getImageBase
- return type: `long`


## Method: getLoaderFlags
- return type: `int`


## Method: getMagic
- return type: `short`


## Method: getMajorImageVersion
- return type: `short`


## Method: getMajorLinkerVersion
- return type: `byte`


## Method: getMajorOperatingSystemVersion
- return type: `short`


## Method: getMajorSubsystemVersion
- return type: `short`


## Method: getMinorImageVersion
- return type: `short`


## Method: getMinorLinkerVersion
- return type: `byte`


## Method: getMinorOperatingSystemVersion
- return type: `short`


## Method: getMinorSubsystemVersion
- return type: `short`


## Method: getNumberOfRvaAndSizes
- return type: `long`


## Method: getSectionAlignment
- return type: `int`


## Method: getSizeOfCode
- return type: `long`


## Method: getSizeOfHeaders
- return type: `long`


## Method: getSizeOfHeapCommit
- return type: `long`


## Method: getSizeOfHeapReserve
- return type: `long`


## Method: getSizeOfImage
- return type: `long`


## Method: getSizeOfInitializedData
- return type: `long`


## Method: getSizeOfStackCommit
- return type: `long`


## Method: getSizeOfStackReserve
- return type: `long`


## Method: getSizeOfUninitializedData
- return type: `long`


## Method: getSubsystem
- return type: `short`


## Method: getWin32VersionValue
- return type: `int`


