1 // Common/IntToString.h 2 3 #ifndef __COMMON_INT_TO_STRING_H 4 #define __COMMON_INT_TO_STRING_H 5 6 #include "MyTypes.h" 7 8 void ConvertUInt32ToString(UInt32 value, char *s) throw(); 9 void ConvertUInt64ToString(UInt64 value, char *s) throw(); 10 11 void ConvertUInt32ToString(UInt32 value, wchar_t *s) throw(); 12 void ConvertUInt64ToString(UInt64 value, wchar_t *s) throw(); 13 14 void ConvertUInt64ToOct(UInt64 value, char *s) throw(); 15 16 void ConvertUInt32ToHex(UInt32 value, char *s) throw(); 17 void ConvertUInt64ToHex(UInt64 value, char *s) throw(); 18 void ConvertUInt32ToHex8Digits(UInt32 value, char *s) throw(); 19 // void ConvertUInt32ToHex8Digits(UInt32 value, wchar_t *s) throw(); 20 21 void ConvertInt64ToString(Int64 value, char *s) throw(); 22 void ConvertInt64ToString(Int64 value, wchar_t *s) throw(); 23 24 // use RawLeGuid only for RAW bytes that contain stored GUID as Little-endian. 25 char *RawLeGuidToString(const Byte *guid, char *s) throw(); 26 char *RawLeGuidToString_Braced(const Byte *guid, char *s) throw(); 27 28 #endif 29