summaryrefslogtreecommitdiffstats
path: root/common/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/utils.h')
-rw-r--r--common/utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/utils.h b/common/utils.h
index ec1d5b1..8565f17 100644
--- a/common/utils.h
+++ b/common/utils.h
@@ -26,6 +26,11 @@ namespace Sink {
26 26
27QByteArray createUuid(); 27QByteArray createUuid();
28 28
29// No copy is done on this functions. Therefore, the caller must not use the
30// returned QByteArray after the size_t has been destroyed.
31const QByteArray sizeTToByteArray(const size_t &);
32size_t byteArrayToSizeT(const QByteArray &);
33
29template <typename T> 34template <typename T>
30static QByteArray padNumber(T number); 35static QByteArray padNumber(T number);
31 36