# File lib/rubytorrent/package.rb, line 348 def each_empty_block(max_length) raise "no empty blocks in a complete piece" if complete? each_gap(@have, max_length) do |start, len| yield Block.new(@index, start, len) end end