| // Common/IntToString.h |
| |
| #ifndef ZIP7_INC_COMMON_INT_TO_STRING_H |
| #define ZIP7_INC_COMMON_INT_TO_STRING_H |
| |
| #include "MyTypes.h" |
| |
| // return: the pointer to the "terminating" null character after written characters |
| |
| char * ConvertUInt32ToString(UInt32 value, char *s) throw(); |
| char * ConvertUInt64ToString(UInt64 value, char *s) throw(); |
| |
| wchar_t * ConvertUInt32ToString(UInt32 value, wchar_t *s) throw(); |
| wchar_t * ConvertUInt64ToString(UInt64 value, wchar_t *s) throw(); |
| |
| void ConvertUInt64ToOct(UInt64 value, char *s) throw(); |
| |
| void ConvertUInt32ToHex(UInt32 value, char *s) throw(); |
| void ConvertUInt64ToHex(UInt64 value, char *s) throw(); |
| void ConvertUInt32ToHex8Digits(UInt32 value, char *s) throw(); |
| // void ConvertUInt32ToHex8Digits(UInt32 value, wchar_t *s) throw(); |
| |
| void ConvertInt64ToString(Int64 value, char *s) throw(); |
| void ConvertInt64ToString(Int64 value, wchar_t *s) throw(); |
| |
| // use RawLeGuid only for RAW bytes that contain stored GUID as Little-endian. |
| char *RawLeGuidToString(const Byte *guid, char *s) throw(); |
| char *RawLeGuidToString_Braced(const Byte *guid, char *s) throw(); |
| |
| #endif |