mirror of
https://github.com/revanced/smali.git
synced 2025-05-16 14:17:04 +02:00
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:
parent
1a5d95115b
commit
97df898839
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user