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
282 283 284 |
# File 'lib/android/dex/dex_object.rb', line 282 def self.size 2 * 2 + 4 end |
Instance Method Details
#parse ⇒ Object
285 286 287 288 289 |
# File 'lib/android/dex/dex_object.rb', line 285 def parse @params[:class_idx] = read_value(:ushort) @params[:proto_idx] = read_value(:ushort) @params[:name_idx] = read_value(:uint) end |