mirror of
https://github.com/revanced/smali.git
synced 2025-05-16 22:17:07 +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 this.inplace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the size of the file, in bytes
|
||||||
|
*/
|
||||||
public int getFileSize() {
|
public int getFileSize() {
|
||||||
//TODO: implement this
|
return fileSize;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the size of the data section, in bytes
|
||||||
|
*/
|
||||||
public int getDataSize() {
|
public int getDataSize() {
|
||||||
//TODO: implement this
|
return dataSize;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the offset where the data section begins
|
||||||
|
*/
|
||||||
public int getDataOffset() {
|
public int getDataOffset() {
|
||||||
//TODO: implement this
|
return dataOffset;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user