| 726 | } |
| 727 | |
| 728 | EncodedArrayValueIterator::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 | |
| 741 | void EncodedArrayValueIterator::Next() { |
| 742 | pos_++; |
nothing calls this directly
no test coverage detected