# File lib/net/ssh/buffer.rb, line 171 def read(count=nil) count ||= length count = length - @position if @position + count > length @position += count @content[@position-count, count] end