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