# Interface: com.pnfsoftware.jeb.core.units.code.android.IDexFile

Representation of a DEX entry. For dex version 40 and below, each entry is mapped to a single file \(hence the name of this class, at the time it was introduced\). For dex version 41 and above with containers, a single dex file may generate multiple dex entries. 

 IMPORTANT\! This interface will be renamed to `IDexEntry` in a future release.

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

Description: Get the computed checksum. It may differ from the expected one.
return: 

## Method: getActualSignature
- return type: `byte[]`

Description: Get the computed signature. It may differ from the expected one.
return: 

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

Description: Convenience method. Always return 0 for DEX files version 37\-.
return: 

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

Description: Convenience method. Always return 0 for DEX files version 37\-.
return: 

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


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


## Method: getData
- return type: `byte[]`

Description: Retrieve the bytes of the underlying `dex` file. Multiple entries may share the share byte buffer.
return: 

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


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


## Method: getEndianness
- return type: `com.pnfsoftware.jeb.util.io.Endianness`

Description: Get the endianness of this file. Currently, all DEX files use a little\-endian byte ordering.
return: 

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

Description: Get the header provided file checksum.
return: 

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

Description: Get the header provided expected DEX size.
deprecated: use [#getExpectedSize()](#getExpectedSize()) instead

## Method: getExpectedSignature
- return type: `byte[]`

Description: Get the header provided SHA\-1 file signature.
return: 

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

Description: Get the header provided expected DEX size.
return: 

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


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


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

Description: The underlying dex file index. When children of an APK unit, 0 would be attributed to means `classes.dex`, 1 to `classes2.dex`, etc.
return: 

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

Description: Get the size of header.
return: 

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

Description: The index of this entry in their dex container, if the corresponding physical dex file is a v41 container. The primary entry at offset 0 would have index 0, subsequent entries indices 1, 2, etc.
return: 

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


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


## Method: getMap
- return type: `com.pnfsoftware.jeb.core.units.code.android.dex.IDexMap`

Description: Get a map object for this file.
return: 

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


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

Description: Convenience method. Always return 0 for DEX files version 37\-.
return: 

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

Description: Convenience method. Always return 0 for DEX files version 37\-.
return: 

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


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


## Method: getNameTag
- return type: `java.lang.String`

Description: 
return: an optional name tag associated with the object \(usually, the file name that         contained the dex file or dex container used to create this object\)

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

Description: Offset within [data](#getData()) of the start of this dex.
return: an offset, generally 0

## Method: getOwnerUnit
- return type: `com.pnfsoftware.jeb.core.units.code.android.IDexUnit`

Description: Retrieve the owner DEX unit.
return: 

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


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


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


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


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


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


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

Description: Get the DEX version number.
return: 

