class Net::SFTP::Packet

the type byte from the front of every packet it represents.
A specialization of the Net::SSH::Buffer class, which simply auto-reads

def initialize(data)

interpreted as the #type of this packet.
a String). The first byte of the data will be consumed automatically and
Create a new Packet object that wraps the given +data+ (which should be
def initialize(data)
  super
  @type = read_byte
end