Class: OSC::OSCInt32
- Inherits:
-
OSCArgument
- Object
- OSCArgument
- OSC::OSCInt32
- Defined in:
- lib/osc-ruby/osc_types.rb
Instance Attribute Summary
Attributes inherited from OSCArgument
Instance Method Summary collapse
Methods inherited from OSCArgument
#initialize, #to_f, #to_i, #to_s
Constructor Details
This class inherits a constructor from OSC::OSCArgument
Instance Method Details
#encode ⇒ Object
9 10 11 |
# File 'lib/osc-ruby/osc_types.rb', line 9 def encode [@val].pack('N').force_encoding("BINARY") end |
#tag ⇒ Object
5 6 7 |
# File 'lib/osc-ruby/osc_types.rb', line 5 def tag 'i' end |