MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / GetStringLength

Method GetStringLength

Bcore/src/main/cpp/dex/dex_file-inl.h:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace art_lkchan {
29
30inline int32_t DexFile::GetStringLength(const StringId& string_id) const {
31 const uint8_t* ptr = DataBegin() + string_id.string_data_off_;
32 return DecodeUnsignedLeb128(&ptr);
33}
34
35inline const char* DexFile::GetStringDataAndUtf16Length(const StringId& string_id,
36 uint32_t* utf16_length) const {

Callers

nothing calls this directly

Calls 1

DecodeUnsignedLeb128Function · 0.85

Tested by

no test coverage detected