class Ronin::Support::Binary::CTypes::Float32Type
Base class for all ‘Float32` types.
Public Class Methods
new(**kwargs)
click to toggle source
Initializes the ‘Float32` 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/float32_type.rb, line 42 def initialize(**kwargs) super(size: 4, **kwargs) end