Decodes the header section from the class data bytes.
| 702 | |
| 703 | // Decodes the header section from the class data bytes. |
| 704 | void ClassDataItemIterator::ReadClassDataHeader() { |
| 705 | CHECK(ptr_pos_ != nullptr); |
| 706 | header_.static_fields_size_ = DecodeUnsignedLeb128(&ptr_pos_); |
| 707 | header_.instance_fields_size_ = DecodeUnsignedLeb128(&ptr_pos_); |
| 708 | header_.direct_methods_size_ = DecodeUnsignedLeb128(&ptr_pos_); |
| 709 | header_.virtual_methods_size_ = DecodeUnsignedLeb128(&ptr_pos_); |
| 710 | } |
| 711 | |
| 712 | void ClassDataItemIterator::ReadClassDataField() { |
| 713 | field_.field_idx_delta_ = DecodeUnsignedLeb128(&ptr_pos_); |
nothing calls this directly
no test coverage detected