# File lib/net/ssh/buffer.rb, line 128
128:     def consume!(n=position)
129:       if n >= length
130:         # optimize for a fairly common case
131:         clear!
132:       elsif n > 0
133:         @content = @content[n..-1] || ""
134:         @position -= n
135:         @position = 0 if @position < 0
136:       end
137:       self
138:     end