Class: Android::Resource::ResTableHeader

Inherits:
ChunkHeader show all
Defined in:
lib/android/resource.rb

Instance Attribute Summary collapse

Attributes inherited from ChunkHeader

#header_size, #size, #type

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 Attribute Details

#package_countObject (readonly)

Returns the value of attribute package_count.



49
50
51
# File 'lib/android/resource.rb', line 49

def package_count
  @package_count
end

Instance Method Details

#parseObject



50
51
52
53
# File 'lib/android/resource.rb', line 50

def parse
  super
  @package_count = read_int32
end