Class: Tinycode::U16
- Inherits:
-
Object
- Object
- Tinycode::U16
- Includes:
- FixedInteger
- Defined in:
- lib/tinycode/fixed_integer.rb
Overview
an unsigned integer that takes up exactly 16 bits
Instance Attribute Summary
Attributes included from FixedInteger
Class Method Summary collapse
Methods included from FixedInteger
#==, #initialize, #inspect, #tinycode, #to_s
Class Method Details
.range ⇒ Object
46 47 48 |
# File 'lib/tinycode/fixed_integer.rb', line 46 def self.range 0x0000..0xFFFF end |