Class: LibSL::LLU16
Instance Attribute Summary
Attributes inherited from LLNumber
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from LLNumber
Constructor Details
This class inherits a constructor from LibSL::LLNumber
Class Method Details
Instance Method Details
#encode ⇒ Object
168 169 170 171 |
# File 'lib/types.rb', line 168 def encode() raise ArgumentError, "Value out of range: #{@value}" if @value < 0 or @value > 0xffff super('v1') end |