1370b324cSopenharmony_ci// Common/IntToString.h 2370b324cSopenharmony_ci 3370b324cSopenharmony_ci#ifndef ZIP7_INC_COMMON_INT_TO_STRING_H 4370b324cSopenharmony_ci#define ZIP7_INC_COMMON_INT_TO_STRING_H 5370b324cSopenharmony_ci 6370b324cSopenharmony_ci#include "MyTypes.h" 7370b324cSopenharmony_ci 8370b324cSopenharmony_ci// return: the pointer to the "terminating" null character after written characters 9370b324cSopenharmony_ci 10370b324cSopenharmony_cichar * ConvertUInt32ToString(UInt32 value, char *s) throw(); 11370b324cSopenharmony_cichar * ConvertUInt64ToString(UInt64 value, char *s) throw(); 12370b324cSopenharmony_ci 13370b324cSopenharmony_ciwchar_t * ConvertUInt32ToString(UInt32 value, wchar_t *s) throw(); 14370b324cSopenharmony_ciwchar_t * ConvertUInt64ToString(UInt64 value, wchar_t *s) throw(); 15370b324cSopenharmony_ci 16370b324cSopenharmony_civoid ConvertUInt64ToOct(UInt64 value, char *s) throw(); 17370b324cSopenharmony_ci 18370b324cSopenharmony_civoid ConvertUInt32ToHex(UInt32 value, char *s) throw(); 19370b324cSopenharmony_civoid ConvertUInt64ToHex(UInt64 value, char *s) throw(); 20370b324cSopenharmony_civoid ConvertUInt32ToHex8Digits(UInt32 value, char *s) throw(); 21370b324cSopenharmony_ci// void ConvertUInt32ToHex8Digits(UInt32 value, wchar_t *s) throw(); 22370b324cSopenharmony_ci 23370b324cSopenharmony_civoid ConvertInt64ToString(Int64 value, char *s) throw(); 24370b324cSopenharmony_civoid ConvertInt64ToString(Int64 value, wchar_t *s) throw(); 25370b324cSopenharmony_ci 26370b324cSopenharmony_ci// use RawLeGuid only for RAW bytes that contain stored GUID as Little-endian. 27370b324cSopenharmony_cichar *RawLeGuidToString(const Byte *guid, char *s) throw(); 28370b324cSopenharmony_cichar *RawLeGuidToString_Braced(const Byte *guid, char *s) throw(); 29370b324cSopenharmony_ci 30370b324cSopenharmony_ci#endif 31