class Net::SSH::Test::RemotePacket

def to_s

input buffer for the packet stream.
received, this method is called and the result concatenated onto the
Net::SSH::Transport::PacketStream and friends. When a remote packet is
Returns this remote packet as a string, suitable for parsing by
def to_s
  @to_s ||= begin
    instantiate!
    string = Net::SSH::Buffer.from(:byte, @type, *types.zip(@data).flatten).to_s
    [string.length, string].pack("NA*")
  end
end