Class: Android::Resource::ResTableMap
- Defined in:
- lib/android/resource.rb
Instance Method Summary collapse
Methods inherited from Chunk
#current_position, #exec_parse, #initialize, #read_int16, #read_int32, #read_int8
Constructor Details
This class inherits a constructor from Android::Resource::Chunk
Instance Method Details
#parse ⇒ Object
556 557 558 559 |
# File 'lib/android/resource.rb', line 556 def parse @name = read_int32 @val = ResValue.new(@data, current_position) end |
#size ⇒ Object
553 554 555 |
# File 'lib/android/resource.rb', line 553 def size @val.size + 4 end |