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