Class: ApkXml::ChunkHeader

Inherits:
Struct
  • Object
show all
Defined in:
lib/apktools/apkxml.rb

Overview

Structure defining the type and size of each resource chunk

ChunkHeader = Struct.new(:type, :size, :chunk_size)

Instance Attribute Summary collapse

Instance Attribute Details

#chunk_sizeObject

Returns the value of attribute chunk_size

Returns:

  • (Object)

    the current value of chunk_size



32
33
34
# File 'lib/apktools/apkxml.rb', line 32

def chunk_size
  @chunk_size
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



32
33
34
# File 'lib/apktools/apkxml.rb', line 32

def size
  @size
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



32
33
34
# File 'lib/apktools/apkxml.rb', line 32

def type
  @type
end