# File lib/rubytorrent/peer.rb, line 86 def bytes_until(new_rate) [(new_rate.to_f * (Time.now - @since)) - (@rate * (@last - @since)), 0].max end