From 4d7b1da29e0957ac798ee8e6da8288cbd4ae5c79 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Thu, 18 May 2017 19:03:05 +0500 Subject: 2017-05-18 --- utility.h | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 utility.h (limited to 'utility.h') diff --git a/utility.h b/utility.h deleted file mode 100644 index 32120cb..0000000 --- a/utility.h +++ /dev/null @@ -1,16 +0,0 @@ -#pragma once -#include - -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 -void endswap(T *objp) { - unsigned char *memp = reinterpret_cast(objp); - std::reverse(memp, memp + sizeof(T)); -} \ No newline at end of file -- cgit v1.2.3