Class: Ronin::Support::Binary::CTypes::Float32Type
- Inherits:
-
FloatType
- Object
- Type
- ScalarType
- FloatType
- Ronin::Support::Binary::CTypes::Float32Type
- Defined in:
- lib/ronin/support/binary/ctypes/float32_type.rb
Overview
Base class for all Float32
types.
Instance Attribute Summary
Attributes inherited from ScalarType
#alignment, #endian, #signed, #size
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ Float32Type
constructor
Initializes the
Float32
type.
Methods inherited from FloatType
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) ⇒ Float32Type
Initializes the Float32
type.
42 43 44 |
# File 'lib/ronin/support/binary/ctypes/float32_type.rb', line 42 def initialize(**kwargs) super(size: 4, **kwargs) end |