Class: DBus::Data::Int16
Overview
Signed 16 bit integer.
Constant Summary collapse
- FORMAT =
Format.new("s<", "s>")
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Int
Methods inherited from Fixed
Methods inherited from Basic
basic?, from_typed, type, #type
Methods inherited from Base
#==, assert_type_matches_class, basic?, #eql?, fixed?, from_typed, #initialize, #type
Constructor Details
This class inherits a constructor from DBus::Data::Int
Class Method Details
.alignment ⇒ Object
253 254 255 |
# File 'lib/dbus/data.rb', line 253 def self.alignment 2 end |
.range ⇒ Object
262 263 264 |
# File 'lib/dbus/data.rb', line 262 def self.range (-32_768..32_767) end |
.type_code ⇒ Object
249 250 251 |
# File 'lib/dbus/data.rb', line 249 def self.type_code "n" end |