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

Method EncodedArrayValueIterator

Bcore/src/main/cpp/dex/dex_file.cc:728–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

726}
727
728EncodedArrayValueIterator::EncodedArrayValueIterator(const DexFile& dex_file,
729 const uint8_t* array_data)
730 : dex_file_(dex_file),
731 array_size_(),
732 pos_(-1),
733 ptr_(array_data),
734 type_(kByte) {
735 array_size_ = (ptr_ != nullptr) ? DecodeUnsignedLeb128(&ptr_) : 0;
736 if (array_size_ > 0) {
737 Next();
738 }
739}
740
741void EncodedArrayValueIterator::Next() {
742 pos_++;

Callers

nothing calls this directly

Calls 2

DecodeUnsignedLeb128Function · 0.85
NextFunction · 0.85

Tested by

no test coverage detected