Class: Ronin::Support::Binary::CTypes::UInt8Type

Inherits:
UIntType show all
Defined in:
lib/ronin/support/binary/ctypes/uint8_type.rb

Overview

Base class for all uint8_t types.

Instance Attribute Summary

Attributes inherited from ScalarType

#alignment, #endian, #signed, #size

Attributes inherited from Type

#pack_string

Instance Method Summary collapse

Methods inherited from UIntType

#uninitialized_value

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

#initializeUInt8Type

Initializes the integer type.



33
34
35
# File 'lib/ronin/support/binary/ctypes/uint8_type.rb', line 33

def initialize
  super(signed: false, size: 1, endian: nil, pack_string: 'C')
end