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