Method: LibSL::LLU16#encode
- Defined in:
- lib/types.rb
#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 |