Class: Android::Dex::DexObject::MethodIdItem
- Inherits:
-
Android::Dex::DexObject
- Object
- Android::Dex::DexObject
- Android::Dex::DexObject::MethodIdItem
- Defined in:
- lib/android/dex/dex_object.rb
Overview
method_id_item
Instance Attribute Summary
Attributes inherited from Android::Dex::DexObject
Class Method Summary collapse
-
.size ⇒ Object
return parse data size.
Instance Method Summary collapse
Methods inherited from Android::Dex::DexObject
#[], #initialize, #inspect, #symbols
Constructor Details
This class inherits a constructor from Android::Dex::DexObject
Class Method Details
.size ⇒ Object
Note:
this method for DexObject#read_class_array (private method)
return parse data size
283 284 285 |
# File 'lib/android/dex/dex_object.rb', line 283 def self.size 2 * 2 + 4 end |
Instance Method Details
#parse ⇒ Object
286 287 288 289 290 |
# File 'lib/android/dex/dex_object.rb', line 286 def parse @params[:class_idx] = read_value(:ushort) @params[:proto_idx] = read_value(:ushort) @params[:name_idx] = read_value(:uint) end |