class Net::SSH::Buffer

def read_key

type that was read.
describing its type. The remainder of the key is defined by the
Read a key from the buffer. The key will start with a string
def read_key
  type = read_string
  return (type ? read_keyblob(type) : nil)
end