class Ronin::Support::Binary::CTypes::Int32Type
Base class for all ‘Int32` types.
Public Class Methods
new(**kwargs)
click to toggle source
Initializes the ‘Int32` type.
@param [Hash{Symbol => Object}] kwargs
Additional keyword arguments for {Type#initialize}.
@option kwargs [:little, :big, nil] :endian
The endian-ness of the integer type.
@option kwargs [String] :pack_string
The String for `Array#pack` or `String#unpack`.
Calls superclass method
# File lib/ronin/support/binary/ctypes/int32_type.rb, line 42 def initialize(**kwargs) super(signed: true, size: 4, **kwargs) end