Namespaces | |
namespace | JetByteTools |
namespace | JetByteTools::Core |
Enumerations | |
enum | ToHexStringHexDigitRepresentation { HexDigitsLowerCase = 0x00000, HexDigitsUpperCase = 0x00001, HexDigitsNoPrefix = 0x00000, HexDigitsWithPrefix = 0x00010, HexDigitsNoPadding = 0x00000, HexDigitsWithPadding = 0x00100, HexDigitsSpacesBetween = 0x01000, HexDigitsPrefixEveryByte = 0x11010, HexDigitsNoPrefixUpperCase = HexDigitsUpperCase | HexDigitsNoPadding | HexDigitsNoPrefix, HexDigitsNoPrefixLowerCase = HexDigitsLowerCase | HexDigitsNoPadding | HexDigitsNoPrefix, HexDigitsWithPrefixUpperCase = HexDigitsUpperCase | HexDigitsNoPadding | HexDigitsWithPrefix, HexDigitsWithPrefixLowerCase = HexDigitsLowerCase | HexDigitsNoPadding | HexDigitsWithPrefix, HexDigitsNoPaddingNoPrefixUpperCase = HexDigitsUpperCase | HexDigitsNoPadding | HexDigitsNoPrefix, HexDigitsNoPaddingNoPrefixLowerCase = HexDigitsLowerCase | HexDigitsNoPadding | HexDigitsNoPrefix, HexDigitsWithPaddingNoPrefixUpperCase = HexDigitsUpperCase | HexDigitsWithPadding | HexDigitsNoPrefix, HexDigitsWithPaddingNoPrefixLowerCase = HexDigitsLowerCase | HexDigitsWithPadding | HexDigitsNoPrefix, HexDigitsNoPaddingWithPrefixUpperCase = HexDigitsUpperCase | HexDigitsNoPadding | HexDigitsWithPrefix, HexDigitsNoPaddingWithPrefixLowerCase = HexDigitsLowerCase | HexDigitsNoPadding | HexDigitsWithPrefix, HexDigitsWithPaddingWithPrefixUpperCase = HexDigitsUpperCase | HexDigitsWithPadding | HexDigitsWithPrefix, HexDigitsWithPaddingWithPrefixLowerCase = HexDigitsLowerCase | HexDigitsWithPadding | HexDigitsWithPrefix, HexDigitsDefault = HexDigitsWithPrefixLowerCase } |
Functions | |
unsigned short | CalculateRequiredPrecision (const double value) |
string | ToStringA (const bool val) |
wstring | ToStringW (const bool val) |
_tstring | ToString (const bool val) |
string | ToStringA (const unsigned int val) |
wstring | ToStringW (const unsigned int val) |
_tstring | ToString (const unsigned int val) |
string | ToStringA (const signed int val) |
wstring | ToStringW (const signed int val) |
_tstring | ToString (const signed int val) |
string | ToStringA (const unsigned short val) |
wstring | ToStringW (const unsigned short val) |
_tstring | ToString (const unsigned short val) |
string | ToStringA (const signed short val) |
wstring | ToStringW (const signed short val) |
_tstring | ToString (const signed short val) |
string | ToStringA (const unsigned long val) |
wstring | ToStringW (const unsigned long val) |
_tstring | ToString (const unsigned long val) |
string | ToStringA (const signed long val) |
wstring | ToStringW (const signed long val) |
_tstring | ToString (const signed long val) |
string | ToStringA (const unsigned long long val) |
wstring | ToStringW (const unsigned long long val) |
_tstring | ToString (const unsigned long long val) |
string | ToStringA (const signed long long val) |
wstring | ToStringW (const signed long long val) |
_tstring | ToString (const signed long long val) |
string | ToStringA (const float val) |
wstring | ToStringW (const float val) |
_tstring | ToString (const float val) |
string | ToStringA (const double val, unsigned short precision) |
wstring | ToStringW (const double val, unsigned short precision) |
_tstring | ToString (const double val, const unsigned short precision=0) |
string | ToStringA (const long double val, unsigned short precision) |
wstring | ToStringW (const long double val, unsigned short precision) |
_tstring | ToString (const long double val, const unsigned short precision=0) |
string | ToStringA (const void *val) |
wstring | ToStringW (const void *val) |
_tstring | ToString (const void *val) |
string | PointerToStringA (const void *val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | PointerToStringW (const void *val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | PointerToString (const void *val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsWithPaddingNoPrefixUpperCase) |
string | ToHexStringA (const unsigned char val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const unsigned char val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const unsigned char val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
string | ToHexStringA (const signed char val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const signed char val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const signed char val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
string | ToHexStringA (const unsigned int val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const unsigned int val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const unsigned int val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
string | ToHexStringA (const signed int val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const signed int val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const signed int val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
string | ToHexStringA (const unsigned short val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const unsigned short val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const unsigned short val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
string | ToHexStringA (const signed short val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const signed short val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const signed short val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
string | ToHexStringA (const unsigned long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const unsigned long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const unsigned long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
string | ToHexStringA (const signed long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const signed long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const signed long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
string | ToHexStringA (const unsigned long long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const unsigned long long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const unsigned long long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
string | ToHexStringA (const signed long long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const signed long long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const signed long long val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
string | ToHexStringA (const void *val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const void *val, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const void *val, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsWithPaddingWithPrefixLowerCase) |
string | ToHexStringA (const void *pData, const size_t length, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
wstring | ToHexStringW (const void *pData, const size_t length, const ToHexStringHexDigitRepresentation hexDigitRepresentation) |
_tstring | ToHexString (const void *pData, const size_t length, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
std::string | ToByteArrayInitialiserA (const void *pData, const size_t length, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
std::wstring | ToByteArrayInitialiserW (const void *pData, const size_t length, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
_tstring | ToByteArrayInitialiser (const void *pData, const size_t length, const ToHexStringHexDigitRepresentation hexDigitRepresentation=HexDigitsDefault) |
string | ToHexA (const BYTE val) |
wstring | ToHexW (const BYTE val) |
_tstring | ToHex (const BYTE val) |
string | MakePrintableA (const BYTE *const pData, const size_t dataLength, const size_t lineLength, const bool useCR) |
wstring | MakePrintableW (const BYTE *const pData, const size_t dataLength, const size_t lineLength, const bool useCR) |
_tstring | MakePrintable (const BYTE *const pData, const size_t dataLength, const size_t lineLength=0, const bool useCR=false) |
string | DumpDataA (const BYTE *const pData, const size_t dataLength, const size_t lineLength, const bool useCR) |
wstring | DumpDataW (const BYTE *const pData, const size_t dataLength, const size_t lineLength, const bool useCR) |
_tstring | DumpData (const BYTE *const pData, const size_t dataLength, const size_t lineLength=0, const bool useCR=false) |
string | DumpDataA (const string &linePrefix, const BYTE *const pData, const size_t dataLength, const size_t lineLength, const bool useCR, const bool linePrefixOnFirstLine, const bool lineFeedOnLastLine) |
wstring | DumpDataW (const wstring &linePrefix, const BYTE *const pData, const size_t dataLength, const size_t lineLength, const bool useCR, const bool linePrefixOnFirstLine, const bool lineFeedOnLastLine) |
_tstring | DumpData (const _tstring &linePrefix, const BYTE *const pData, const size_t dataLength, const size_t lineLength=0, const bool useCR=false, const bool linePrefixOnFirstLine=true, const bool lineFeedOnLastLine=true) |
string | DumpDataAsHexA (const BYTE *const pData, const size_t dataLength) |
wstring | DumpDataAsHexW (const BYTE *const pData, const size_t dataLength) |
_tstring | DumpDataAsHex (const BYTE *const pData, const size_t dataLength) |
_tstring | BoolAsString (const bool value) |
string | BoolAsStringA (const bool value) |
bool | IsAllPrintable (const BYTE *pData, const size_t length) |