Implemented getFileSize(), getDataSize() and getDataOffset()

git-svn-id: https://smali.googlecode.com/svn/trunk@396 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-08-11 08:13:35 +00:00
parent 1a5d95115b
commit 97df898839

View File

@ -384,19 +384,25 @@ public class DexFile
return this.inplace;
}
/**
* @return the size of the file, in bytes
*/
public int getFileSize() {
//TODO: implement this
return 0;
return fileSize;
}
/**
* @return the size of the data section, in bytes
*/
public int getDataSize() {
//TODO: implement this
return 0;
return dataSize;
}
/**
* @return the offset where the data section begins
*/
public int getDataOffset() {
//TODO: implement this
return 0;
return dataOffset;
}
/**