is position within len elements of the end?
506 507 508
# File 'lib/sequence.rb', line 506 def nearend(len,at=pos) at+len>=size end