| 33 | } |
| 34 | |
| 35 | inline const char* DexFile::GetStringDataAndUtf16Length(const StringId& string_id, |
| 36 | uint32_t* utf16_length) const { |
| 37 | DCHECK(utf16_length != nullptr) << GetLocation(); |
| 38 | const uint8_t* ptr = DataBegin() + string_id.string_data_off_; |
| 39 | *utf16_length = DecodeUnsignedLeb128(&ptr); |
| 40 | return reinterpret_cast<const char*>(ptr); |
| 41 | } |
| 42 | |
| 43 | inline const char* DexFile::GetStringData(const StringId& string_id) const { |
| 44 | uint32_t ignored; |
nothing calls this directly
no test coverage detected