Class: Android::Resource::ResTableMap

Inherits:
Chunk
  • Object
show all
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

#parseObject



430
431
432
433
# File 'lib/android/resource.rb', line 430

def parse
  @name = read_int32
 @val = ResValue.new(@data, current_position)
end

#sizeObject



427
428
429
# File 'lib/android/resource.rb', line 427

def size
  @val.size + 4
end