summaryrefslogtreecommitdiffstats
path: root/src/utility/utility.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/utility/utility.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/utility/utility.h b/src/utility/utility.h
deleted file mode 100644
index 32120cb..0000000
--- a/src/utility/utility.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#pragma once
-#include <algorithm>
-
-int VarIntRead(unsigned char *data, size_t &readed);
-
-size_t VarIntWrite(unsigned int value, unsigned char *data);
-
-long long int ReadVarLong(unsigned char *data, int &readed);
-
-unsigned char *WriteVarLong(unsigned long long int value, int &len);
-
-template<class T>
-void endswap(T *objp) {
- unsigned char *memp = reinterpret_cast<unsigned char *>(objp);
- std::reverse(memp, memp + sizeof(T));
-} \ No newline at end of file