lib/logstash/inputs/ganglia/xdr.rb
# Read a signed int, but report typename if raising an error
Read a signed int, but report typename if raising an error
Read a signed int but report typename if raising an error
def _int32(typename)
            _read_type(4, typename).unpack("N").pack("L").unpack("l").first
        end
def _int32 ( typename ) _read_type ( 4 , typename ) . unpack ( "N" ) . pack ( "L" ) . unpack ( "l" ) . first end
Read a signed int, but report typename if raising an error
Read a signed int but report typename if raising an error
# Ruby's unpack doesn't give us a big-endian signed integer, so we # decode a native signed integer and conditionally swap it
typename
<not_specific>