Class: Ronin::Support::Binary::CTypes::Int8Type
- Inherits:
-
IntType
- Object
- Type
- ScalarType
- IntType
- Ronin::Support::Binary::CTypes::Int8Type
- Defined in:
- lib/ronin/support/binary/ctypes/int8_type.rb
Overview
Base class for all int8_t
types.
Instance Attribute Summary
Attributes inherited from ScalarType
#alignment, #endian, #signed, #size
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize ⇒ Int8Type
constructor
Initializes the integer type.
Methods inherited from IntType
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 ⇒ Int8Type
Initializes the integer type.
33 34 35 |
# File 'lib/ronin/support/binary/ctypes/int8_type.rb', line 33 def initialize super(signed: true, size: 1, endian: nil, pack_string: 'c') end |