summaryrefslogtreecommitdiff
path: root/src/libs/ssh/sshpacketparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/ssh/sshpacketparser.cpp')
-rw-r--r--src/libs/ssh/sshpacketparser.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/ssh/sshpacketparser.cpp b/src/libs/ssh/sshpacketparser.cpp
index 38f9c5a04d..6251f60244 100644
--- a/src/libs/ssh/sshpacketparser.cpp
+++ b/src/libs/ssh/sshpacketparser.cpp
@@ -98,6 +98,11 @@ quint64 SshPacketParser::asUint64(const QByteArray &data, quint32 *offset)
return val;
}
+QByteArray SshPacketParser::asString(const QByteArray &data, quint32 offset)
+{
+ return asString(data, &offset);
+}
+
QByteArray SshPacketParser::asString(const QByteArray &data, quint32 *offset)
{
const quint32 length = asUint32(data, offset);