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