method
get_string
get_string()
public
Hide source
# File lib/resolv.rb, line 1396 def get_string len = @data[@index] raise DecodeError.new("limit exceeded") if @limit < @index + 1 + len d = @data[@index + 1, len] @index += 1 + len return d end