public String readString() {
int offset = readInt();
int savedPosition = position;
position = offset;
try {
int expectedLength = readUleb128();
String result = Mutf8.decode(this, new char[expectedLength]);
if (result.length() != expectedLength) {
throw new DexException("Declared length " + expectedLength
+ " doesn't match decoded length of " + result.length());
}
return result;
} catch (UTFDataFormatException e) {
throw new DexException(e);
} finally {
position = savedPosition;
}
}
DexBuffer.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:JCL
作者:
评论列表
文章目录