Class: Ronin::Support::Binary::CTypes::UInt16Type
- Inherits:
-
UIntType
- Object
- Type
- ScalarType
- UIntType
- Ronin::Support::Binary::CTypes::UInt16Type
- Defined in:
- lib/ronin/support/binary/ctypes/uint16_type.rb
Overview
Base class for all UInt16
types.
Instance Attribute Summary
Attributes inherited from ScalarType
#alignment, #endian, #signed, #size
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ UInt16Type
constructor
Initializes the
UInt16
type.
Methods inherited from UIntType
Methods inherited from ScalarType
#align, #dequeue_value, #enqueue_value, #pack, #signed?, #unpack, #unsigned?
Methods inherited from Type
#[], #align, #alignment, #dequeue_value, #enqueue_value, #pack, #size, #uninitialized_value, #unpack
Constructor Details
#initialize(**kwargs) ⇒ UInt16Type
Initializes the UInt16
type.
42 43 44 |
# File 'lib/ronin/support/binary/ctypes/uint16_type.rb', line 42 def initialize(**kwargs) super(signed: false, size: 2, **kwargs) end |