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

Method GetIndexForStringId

Bcore/src/main/cpp/dex/dex_file.h:482–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480 }
481
482 dex::StringIndex GetIndexForStringId(const StringId& string_id) const {
483 CHECK_GE(&string_id, string_ids_) << GetLocation();
484 CHECK_LT(&string_id, string_ids_ + header_->string_ids_size_) << GetLocation();
485 return dex::StringIndex(&string_id - string_ids_);
486 }
487
488 int32_t GetStringLength(const StringId& string_id) const;
489

Callers

nothing calls this directly

Calls 1

StringIndexClass · 0.85

Tested by

no test coverage detected