class Net::SSH::Buffer
def read(count = nil)
the read position. If +count+ is +nil+, this will return all remaining
Reads and returns the next +count+ bytes from the buffer, starting from
def read(count = nil) count ||= length count = length - @position if @position + count > length @position += count @content[@position - count, count] end