summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/lzma/CPP/Common/StringToInt.h
blob: cd99f17e6a02698d6089dbe8d7d6ad6ad72195fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Common/StringToInt.h

#ifndef __COMMON_STRING_TO_INT_H
#define __COMMON_STRING_TO_INT_H

#include "Types.h"

UInt64 ConvertStringToUInt64(const char *s, const char **end);
UInt64 ConvertOctStringToUInt64(const char *s, const char **end);
UInt64 ConvertHexStringToUInt64(const char *s, const char **end);
UInt64 ConvertStringToUInt64(const wchar_t *s, const wchar_t **end);

Int64 ConvertStringToInt64(const char *s, const char **end);
Int64 ConvertStringToInt64(const wchar_t *s, const wchar_t **end);

#endif