mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Add LZMA.
This commit is contained in:
30
3rdparty/lzma-21.03beta/CPP/Common/IntToString.h
vendored
Normal file
30
3rdparty/lzma-21.03beta/CPP/Common/IntToString.h
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
// Common/IntToString.h
|
||||
|
||||
#ifndef __COMMON_INT_TO_STRING_H
|
||||
#define __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
|
||||
Reference in New Issue
Block a user