class Ronin::Support::Binary::CTypes::UIntType
Base class for all unsigned integer types.
Public Class Methods
Source
# File lib/ronin/support/binary/ctypes/uint_type.rb, line 42 def initialize(**kwargs) super(signed: false, **kwargs) end
Initializes the unsigned integer type.
@param [Hash{Symbol => Object}] kwargs
Additional keyword arguments for {Type#initialize}.
@option kwargs [:little, :big, nil] :endian
The endian-ness of the unsigned integer type.
@option kwargs [String] :pack_string
The String for `Array#pack` or `String#unpack`.
Calls superclass method
Ronin::Support::Binary::CTypes::ScalarType::new
Public Instance Methods
Source
# File lib/ronin/support/binary/ctypes/uint_type.rb, line 51 def uninitialized_value 0 end
Returns an uninitialized unsigned integer value.
@return [0]