lib/logstash/inputs/ganglia/xdr.rb
# Read length bytes from the input. Return an error if we failed.
Read length bytes from the input. Return an error if we failed.
Read length bytes from the input . Return an error if we failed .
def _read_type(length, typename)
            bytes = @io.read(length)
            raise EOFError, "Unexpected EOF reading #{typename}" \
                if bytes.nil? || bytes.length != length
            bytes
        end
def _read_type ( length , typename ) bytes = @io . read ( length ) raise EOFError , "Unexpected EOF reading #{typename}" if bytes . nil? || bytes . length != length bytes end
Read length bytes from the input.
Read length bytes from the input .
length
<not_specific>
typename
<not_specific>