aboutsummaryrefslogtreecommitdiff
path: root/CPP/7zip/Common/MethodId.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/Common/MethodId.cpp')
-rw-r--r--[-rwxr-xr-x]CPP/7zip/Common/MethodId.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/CPP/7zip/Common/MethodId.cpp b/CPP/7zip/Common/MethodId.cpp
index 705cc4d..9a07e4c 100755..100644
--- a/CPP/7zip/Common/MethodId.cpp
+++ b/CPP/7zip/Common/MethodId.cpp
@@ -1,27 +1,3 @@
// MethodId.cpp
#include "StdAfx.h"
-
-#include "MethodId.h"
-#include "../../Common/MyString.h"
-
-static inline wchar_t GetHex(Byte value)
-{
- return (wchar_t)((value < 10) ? ('0' + value) : ('A' + (value - 10)));
-}
-
-UString ConvertMethodIdToString(UInt64 id)
-{
- wchar_t s[32];
- int len = 32;
- s[--len] = 0;
- do
- {
- s[--len] = GetHex((Byte)id & 0xF);
- id >>= 4;
- s[--len] = GetHex((Byte)id & 0xF);
- id >>= 4;
- }
- while (id != 0);
- return s + len;
-}