module Net::SSH::BufferedIo
def fill(n = 8192)
the data to the input buffer. It returns the number of bytes read, or 0
Tries to read up to +n+ bytes of data from the remote end, and appends
def fill(n = 8192) input.consume! data = recv(n) || "" debug { "read #{data.length} bytes" } input.append(data) return data.length rescue EOFError => e @input_errors << e return 0 end