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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Create a new Packet object that wraps the given <tt>data</tt> (which should be a String). The first byte of the data will be consumed automatically and interpreted as the #type of this packet."
full_name: Net::SFTP::Packet::new
is_singleton: true
name: new
params: (data)
visibility: public
