|
MKI_ConvertBytesString (Strings) Changed in Version 2026.0 |
www.CAD6.com |
C++ Syntaxbool MKI_ConvertBytesString( LPWSTR f_pszText, const size_t f_unMaxSize, __int64 f_nValue );
template <size_t f_unSize> void MKI_ConvertBytesString( wchar_t (&f_rDestin)[f_unSize], __int64 f_nValue );
Converts a byte size to a string.
Parametersf_pszText / f_rDestin [LPWSTR] Pointer to or [wchar_t[]&] Reference to text buffer to receive the converted byte string. The result will be in the format "32 KiB", "10.2 MiB", "3.2 GiB", or "17.2 TiB", depending on the actual value. A negative value will result in "? KiB". f_nBytes [__int64] Integer byte size to be converted into a string.
Return ValueReturns true if successful. If false is returned, f_pszText is unchanged.
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH