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.



46
47
48
# File 'lib/android/resource.rb', line 46

def package_count
  @package_count
end

Instance Method Details

#parseObject



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

def parse
  super
  @package_count = read_int32
end