--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Reads up to <tt>n</tt> bytes of data from the stream. Fewer bytes will be returned if EOF is encountered before the requested number of bytes could be read. Without an argument (or with a nil argument) all data to the end of the file will be read and returned.
- !ruby/struct:SM::Flow::P 
  body: This will advance the file pointer (#pos).
full_name: Net::SFTP::Operations::File#read
is_singleton: false
name: read
params: (n=nil)
visibility: public
