Class: Melos::Struct::Extension

Inherits:
Base
  • Object
show all
Defined in:
lib/melos/struct/structs.rb

Constant Summary collapse

STRUCT =
[
  [:extension_type, :uint16], # ExtensionType = uint16
  [:extension_data, :vec]
]

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#deserialize_select_elem_with_context, #initialize, #raw

Constructor Details

This class inherits a constructor from Melos::Struct::Base

Instance Attribute Details

#extension_dataObject (readonly)

Returns the value of attribute extension_data.



98
99
100
# File 'lib/melos/struct/structs.rb', line 98

def extension_data
  @extension_data
end

#extension_typeObject (readonly)

Returns the value of attribute extension_type.



98
99
100
# File 'lib/melos/struct/structs.rb', line 98

def extension_type
  @extension_type
end