lib/logstash/inputs/ganglia/xdr.rb
# An unsigned 32-bit integer, big-endian
An unsigned 32-bit integer, big-endian
An unsigned 32 - bit integer big - endian
def uint32(val)
            raise ArgumentError, "uint32() requires an Integer argument" \
                unless val.is_a?(Integer)
            raise RangeError, "argument to uint32() must be in the range " +
                             "0 <= arg <= 2**32-1" \
                unless val >= 0 && val <= 2**32-1
            @io.write([val].pack("N"))
            self
        end
def uint32 ( val ) raise ArgumentError , "uint32() requires an Integer argument" unless val . is_a? ( Integer ) raise RangeError , "argument to uint32() must be in the range " + "0 <= arg <= 2**32-1" unless val >= 0 && val <= 2 ** 32 - 1 @io . write ( [ val ] . pack ( "N" ) ) self end
An unsigned 32-bit integer, big-endian
An unsigned 32 - bit integer big - endian
val
<not_specific>